{"id":"CVE-2024-27355","aliases":["CVE-2024-27355","GHSA-f2qx-66wf-wvvx"],"related":[],"kind":"vulnerability","state":"published","title":"phpseclib guardrails needed on OID length","summary":"An issue was discovered in phpseclib 1.x before 1.0.23, 2.x before 2.0.47, and 3.x before 3.0.36. When processing the ASN.1 object identifier of a certificate, a sub identifier may be provided that leads to a denial of service (CPU consumption for decodeOID).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in phpseclib 1.x before 1.0.23, 2.x before 2.0.47, and 3.x before 3.0.36. When processing the ASN.1 object identifier of a certificate, a sub identifier may be provided that leads to a denial of service (CPU consumption for decodeOID).","source":"cvelist"},{"lang":"en","text":"### Impact\nAny application using that loads untrusted ASN1 files (eg. X509 certificates, RSA PKCS8 private or public keys, etc).\n\n### Patches\nhttps://github.com/phpseclib/phpseclib/commit/e32531001b4d62c66c3d824ccef54ffad835eb59\n\n### Workarounds\nNo.\n\n### Resources\nhttps://github.com/phpseclib/phpseclib/commit/e32531001b4d62c66c3d824ccef54ffad835eb59\nhttps://www.usenix.org/system/files/conference/usenixsecurity25/sec25cycle1-prepub-599-shi-bing.pdf","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se descubrió un problema en phpseclib 1.x anterior a 1.0.23, 2.x anterior a 2.0.47 y 3.x anterior a 3.0.36. Al procesar el identificador de objeto ASN.1 de un certificado, se puede proporcionar un subidentificador que conduzca a una denegación de servicio (consumo de CPU para decodeOID).","source":"nvd"}],"published":"2024-03-01T00:00:00.000Z","modified":"2026-06-17T07:19:43.123Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"1.0","fixed":"1.0.23","status":"affected"},{"type":"custom","introduced":"2.0","fixed":"2.0.47","status":"affected"},{"type":"custom","introduced":"3.0","fixed":"3.0.36","status":"affected"}],"vendor":"phpseclib","product":"phpseclib","cpe":"cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.0.47"}],"ecosystem":"Packagist","package":"phpseclib/phpseclib","purl":"pkg:composer/phpseclib/phpseclib","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.0.0","status":"affected","fixed":"3.0.36"}],"ecosystem":"Packagist","package":"phpseclib/phpseclib","purl":"pkg:composer/phpseclib/phpseclib","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0.1.1","status":"affected","fixed":"1.0.23"}],"ecosystem":"Packagist","package":"phpseclib/phpseclib","purl":"pkg:composer/phpseclib/phpseclib","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.0.0","fixed":"1.0.23"},{"status":"affected","introduced":"2.0.0","fixed":"2.0.47"},{"status":"affected","introduced":"3.0.0","fixed":"3.0.36"}],"vendor":"phpseclib","product":"phpseclib","cpe":"cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/phpseclib/phpseclib/blob/978d081fe50ff92879c50ff143c62a143edb0117/phpseclib/File/ASN1.php#L1129","tags":["product","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://gist.github.com/katzj/ee72f3c2a00590812b2ea3c0c8890e0b","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/03/msg00002.html","tags":["mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/03/msg00003.html","tags":["mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/phpseclib/phpseclib/security/advisories/GHSA-f2qx-66wf-wvvx","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27355","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/phpseclib/phpseclib/commit/e32531001b4d62c66c3d824ccef54ffad835eb59","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/phpseclib/phpseclib/CVE-2024-27355.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/phpseclib/phpseclib","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-08-09T14:10:07.399Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-27355","url":"https://www.cve.org/CVERecord?id=CVE-2024-27355","licence":"CVE Terms of Use","modified":"2024-08-13T13:38:16.577Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f2qx-66wf-wvvx","url":"https://github.com/advisories/GHSA-f2qx-66wf-wvvx","licence":"CC-BY-4.0","modified":"2026-05-08T18:41:11.562Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-27355","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27355","licence":"Public domain","modified":"2026-06-17T07:19:43.123Z"}],"updatedAt":"2026-11-25T22:58:37.225Z","epss":{"score":0.00569,"percentile":0.48479,"date":"2026-12-01T12:00:22.000Z"}}