CVE-2023-49316 json
Phpseclib needs guardrails on large binaryfield integers
published 2023-11-27 2 y ago modified 2026-06-17 4 mo ago also GHSA-2f25-pfq3-c7h8 , EUVD-2023-2993
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
In Math/BinaryField.php in phpseclib 3 before 3.0.34, excessively large degrees can lead to a denial of service.
Patch / fix
- packagist phpseclib/phpseclib 3.0.34
- phpseclib phpseclib 3.0.34
- php-phpseclib3 Debian 12 3.0.19-1+deb12u1
- php-phpseclib3 Debian 14, Debian 13 3.0.34-1
debian advisories DEBIAN-CVE-2023-49316
Exploit prediction
0.78% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | phpseclib/phpseclib | >=3.0.0, <3.0.34 |
3.0.34 |
Classification
References
-
github.com
/phpseclib/phpseclib/commit/964d78101a70305df33f442f5490f0adb3b7e77f
web, patch
-
github.com
/phpseclib/phpseclib/releases/tag/3.0.34
web, release-notes
-
github.com
/phpseclib/phpseclib/security/advisories/GHSA-2f25-pfq3-c7h8
web
-
nvd.nist.gov
/vuln/detail/CVE-2023-49316
advisory
-
github.com
/FriendsOfPHP/security-advisories/blob/master/phpseclib/phpseclib/CVE-2023-49316.yaml
web
-
github.com
/phpseclib/phpseclib
package
Sources
- CVE List CVE-2023-49316
- GitHub Advisory GHSA-2f25-pfq3-c7h8
- NVD CVE-2023-49316
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.