{"id":"CVE-2024-27355","published":"2024-03-01T00:00:00Z","modified":"2024-08-13T13:38:16Z","title":"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","vendor":null,"product":null,"tier":"tail","description":{"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).","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00569,"percentile":0.4802,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/phpseclib/phpseclib/blob/978d081fe50ff92879c50ff143c62a143edb0117/phpseclib/File/ASN1.php#L1129","tags":[]},{"url":"https://gist.github.com/katzj/ee72f3c2a00590812b2ea3c0c8890e0b","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/03/msg00002.html","tags":["mailing-list"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/03/msg00003.html","tags":["mailing-list"]}],"priority":{"score":14.9,"factors":[{"name":"EPSS percentile","points":9.6},{"name":"CVSS severity","points":5.25}]},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-08-09T14:10:07.399957Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"phpseclib/phpseclib","vulnerableRanges":[">=2.0.0, <2.0.47",">=3.0.0, <3.0.36",">=0.1.1, <1.0.23"],"patched":["2.0.47","3.0.36","1.0.23"],"from":["GHSA-f2qx-66wf-wvvx"],"provenance":"source"}],"summary":{"text":"The flaw is in phpseclib, a PHP cryptography library, affecting the 1.x, 2.x and 3.x branches before versions 1.0.23, 2.0.47 and 3.0.36 respectively, and it lies in the ASN.1 handling code that decodes object identifiers within a certificate. An attacker who can supply a certificate containing a crafted OID sub-identifier can cause excessive CPU consumption in the decodeOID routine, resulting in denial of service, with no authentication or user interaction required when the attacker has network access to the affected application.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:13Z"},"euvd":{"id":"EUVD-2024-0951","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-phpseclib-cve-2024-27355","children":[{"from":"CVE-2024-27355","to":"CVE-2026-44167","relation":"bypass","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"bypass","quote":"This is a bypass of CVE-2024-27355.","from":"CVE.org","in":"CVE-2026-44167"},{"kind":"same-code","provenance":"machine","files":["phpseclib/File/ASN1.php"],"commits":["https://github.com/phpseclib/phpseclib/commit/e32531001b4d62c66c3d824ccef54ffad835eb59","https://github.com/phpseclib/phpseclib/commit/d53d2021bcb9f6a04d5d44ec99e6bbef219a71bc"],"basis":"shared function","functions":["_decodeOID"]}]}],"packageHistory":[{"cve":"CVE-2023-52892","published":"2024-06-27","fixed":"3.0.33","kev":false},{"cve":"CVE-2023-49316","published":"2023-11-27","fixed":"3.0.34","kev":false,"link":{"from":"CVE-2023-49316","to":"CVE-2024-27355","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:phpseclib/phpseclib","fromFixed":"3.0.34","toFixed":"3.0.36","daysApart":95}]}},{"cve":"CVE-2024-27354","published":"2024-03-01","fixed":"3.0.36","kev":false},{"cve":"CVE-2024-27355","published":"2024-03-01","fixed":"3.0.36","kev":false},{"cve":"CVE-2026-32935","published":"2026-03-20","fixed":"3.0.50","kev":false},{"cve":"CVE-2026-40194","published":"2026-04-10","fixed":"3.0.51","kev":false},{"cve":"CVE-2026-44167","published":"2026-05-12","fixed":"3.0.52","kev":false}],"package":"Packagist:phpseclib/phpseclib"}}