{"id":"CVE-2023-49316","aliases":["GHSA-2f25-pfq3-c7h8"],"url":"https://o3.security/vulnerability/CVE-2023-49316","summary":"Phpseclib needs guardrails on large binaryfield integers","details":"### Impact\nAnyone loading untrusted ASN1 files (eg. X509 certificates, RSA PKCS8 private or public keys, etc)\n\n### Patches\nhttps://github.com/phpseclib/phpseclib/commit/964d78101a70305df33f442f5490f0adb3b7e77f\n\n### Workarounds\nNo.\n\n### References\nhttps://github.com/phpseclib/phpseclib/commit/964d78101a70305df33f442f5490f0adb3b7e77f\nhttps://www.usenix.org/system/files/usenixsecurity25-shi-bing.pdf","published":"2023-11-27T00:00:00Z","modified":"2026-08-12T03:51:39.669767796Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":{"score":0.00783,"percentile":0.52889,"asOf":"2026-08-14"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"phpseclib/phpseclib","fixedVersion":"3.0.34"}],"fix":{"url":"https://github.com/phpseclib/phpseclib/commit/964d78101a70305df33f442f5490f0adb3b7e77f","label":"phpseclib/phpseclib@964d781"},"references":[{"type":"WEB","url":"https://github.com/phpseclib/phpseclib/releases/tag/3.0.34"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/49xxx/CVE-2023-49316.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-49316"},{"type":"FIX","url":"https://github.com/phpseclib/phpseclib/commit/964d78101a70305df33f442f5490f0adb3b7e77f"},{"type":"WEB","url":"https://github.com/phpseclib/phpseclib/security/advisories/GHSA-2f25-pfq3-c7h8"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/phpseclib/phpseclib/CVE-2023-49316.yaml"},{"type":"PACKAGE","url":"https://github.com/phpseclib/phpseclib"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:39.669767796Z"}}