GHSA-2f25-pfq3-c7h8

Suggest an improvement
Source
https://github.com/advisories/GHSA-2f25-pfq3-c7h8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-2f25-pfq3-c7h8/GHSA-2f25-pfq3-c7h8.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-2f25-pfq3-c7h8
Aliases
Published
2026-05-08T23:06:50Z
Modified
2026-08-24T00:36:43Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Phpseclib needs guardrails on large binaryfield integers
Details

Impact

Anyone loading untrusted ASN1 files (eg. X509 certificates, RSA PKCS8 private or public keys, etc)

Patches

https://github.com/phpseclib/phpseclib/commit/964d78101a70305df33f442f5490f0adb3b7e77f

Workarounds

No.

References

https://github.com/phpseclib/phpseclib/commit/964d78101a70305df33f442f5490f0adb3b7e77f https://www.usenix.org/system/files/usenixsecurity25-shi-bing.pdf

Database specific
{
    "cwe_ids": [
        "CWE-400",
        "CWE-834"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-05-08T23:06:50Z",
    "nvd_published_at": null,
    "severity": "HIGH"
}
References

Affected packages

Packagist / phpseclib/phpseclib

Package

Name
phpseclib/phpseclib
Purl
pkg:composer/phpseclib/phpseclib

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.0.0
Fixed
3.0.34

Affected versions

3.*
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.0.8
3.0.9
3.0.10
3.0.11
3.0.12
3.0.13
3.0.14
3.0.15
3.0.16
3.0.17
3.0.18
3.0.19
3.0.20
3.0.21
3.0.22
3.0.23
3.0.33

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-2f25-pfq3-c7h8/GHSA-2f25-pfq3-c7h8.json"