Read the docs
TI-2023-26939 Aliases CVE-2023-49316GHSA-2f25-pfq3-c7h8

In Math/BinaryField.php in phpseclib 3 before 3.0.34, excessively large degrees can lead to a denial of service.

Priority LOW 34CWE-834Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-400.

Summary

In Math/BinaryField.php in phpseclib 3 before 3.0.34, excessively large degrees can lead to a denial of service.

Why it matters now

EPSS 0.00783 56th percentileScored 2026-11-07
Fix Fixed phpseclib/phpseclib (Packagist): 3.0.34

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—phpseclib/phpseclib (Packagist)3.0.0 to before 3.0.343.0.34Patch availableGHSA-2f25-pfq3-c7h8
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • phpseclib/phpseclib (Packagist) Vendor— Affected 3.0.0 to before 3.0.34 Fixed in 3.0.34 Patch available GHSA-2f25-pfq3-c7h8

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:*3.0.0 to before 3.0.34Vulnerablephpseclib
  • cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:* Versions 3.0.0 to before 3.0.34 Vulnerable ·phpseclib

Remediation

  • Fix · GHSA-2f25-pfq3-c7h8 phpseclib/phpseclib (Packagist) Fixed in 3.0.34 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-49316
  2. 2026-10-03 Alias added: GHSA-2f25-pfq3-c7h8

References

  • TI-2026-40135 Server-side request forgery in phpseclib CVSS 3.1MEDIUM 5.8
  • TI-2026-29008 phpseclib has a variable-time HMAC comparison in SSH2::get_binary_packet() using != instead of hash_equals() CVSS 3.1LOW 3.7
  • TI-2023-29213 In phpseclib before 1.0.22, 2.x before 2.0.46, and 3.x before 3.0.33, some characters in… CVSS 3.1HIGH 7.5
  • TI-2024-18192 An issue was discovered in phpseclib 1.x before 1.0.23, 2.x before 2.0.47, and 3.x before… CVSS 3.1HIGH 7.5
  • TI-2024-18191 An issue was discovered in phpseclib 1.x before 1.0.23, 2.x before 2.0.47, and 3.x before… CVSS 3.1HIGH 7.5
  • TI-2023-12272 Math/PrimeField.php in phpseclib 3.x before 3.0.19 has an infinite loop with composite primefields. CVSS 3.1HIGH 7.5
See all 8 →

Sources