{"id":"CVE-2024-27355","aliases":["DEBIAN-CVE-2024-27355","DLA-3749-1","DLA-3750-1","EUVD-2024-0951","GHSA-f2qx-66wf-wvvx","GHSA-jr22-8qgm-4q87","UBUNTU-CVE-2024-27355","USN-7404-1","USN-8769-1","openSUSE-SU-2026:10920-1"],"status":"published","title":"phpseclib guardrails needed on OID length","description":"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).","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-09","score":0.00569,"percentile":0.4739,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-400"],"published":"2024-03-01T00:00:00Z","modified":"2026-11-02T12:02:02Z","fixes":[{"ecosystem":"Packagist","package":"phpseclib/phpseclib","fixed_in":["2.0.47","3.0.36","1.0.23"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"php-phpseclib","fixed_in":["2.0.42-1+deb12u2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"php-phpseclib","fixed_in":["2.0.47-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"php-phpseclib","fixed_in":["2.0.47-1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"php-phpseclib3","fixed_in":["3.0.19-1+deb12u3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"php-phpseclib3","fixed_in":["3.0.36-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"php-phpseclib3","fixed_in":["3.0.36-1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"phpseclib","fixed_in":["1.0.20-1+deb12u2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"phpseclib","fixed_in":["1.0.23-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"php-phpseclib","fixed_in":["2.0.23-2ubuntu0.1~esm2"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"phpseclib","fixed_in":["1.0.18-2ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:22.04:LTS","package":"phpseclib","fixed_in":["1.0.20-1+deb12u3build0.22.04.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"php-phpseclib","fixed_in":["2.0.36-1ubuntu0.1~esm2"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"php-phpseclib3","fixed_in":["3.0.13-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"phpseclib","fixed_in":["1.0.20-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"cacti","fixed_in":["1.2.30+git457.e55c2aea-1.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"phpseclib/phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"last_affected":"2.0.46"},{"fixed":"2.0.47"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"phpseclib/phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"last_affected":"3.0.35"},{"fixed":"3.0.36"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"phpseclib/phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.1"},{"last_affected":"1.0.22"},{"fixed":"1.0.23"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"php-phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.42-1+deb12u2"}]}],"versions":["2.0.42-1","2.0.42-1+deb12u1"]},{"source":"osv","ecosystem":"Debian:13","package":"php-phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.47-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"php-phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.47-1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"php-phpseclib3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.19-1+deb12u3"}]}],"versions":["3.0.19-1","3.0.19-1+deb12u1","3.0.19-1+deb12u2"]},{"source":"osv","ecosystem":"Debian:13","package":"php-phpseclib3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.36-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"php-phpseclib3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.36-1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.20-1+deb12u2"}]}],"versions":["1.0.20-1","1.0.20-1+deb12u1"]},{"source":"osv","ecosystem":"Debian:13","package":"phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.23-1"}]}]},{"source":"osv","ecosystem":"Debian:10","package":"phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.19-3~deb10u3"}]}],"versions":["1.0.14-1","1.0.15-1","1.0.16-1","1.0.16-2","1.0.17-1","1.0.18-1","1.0.18-2","1.0.19-1","1.0.19-2","1.0.19-3~deb10u1","1.0.19-3~deb10u2"],"bundled":2},{"source":"osv","ecosystem":"Debian:10","package":"php-phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.30-2~deb10u3"}]}],"versions":["2.0.14-1","2.0.15-1","2.0.17-1","2.0.18-1","2.0.19-1","2.0.20-1","2.0.21-1","2.0.21-2","2.0.21-3","2.0.22-1","2.0.23-1","2.0.23-2","2.0.25-1","2.0.26-1","2.0.27-1","2.0.28-1","2.0.29-1","2.0.29-2","2.0.30-1","2.0.30-2~deb10u1","2.0.30-2~deb10u2"],"bundled":2},{"source":"osv","ecosystem":"Packagist","package":"phpseclib/phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.47"}]}],"versions":["2.0.0","2.0.1","2.0.10","2.0.11","2.0.12","2.0.13","2.0.14","2.0.15","2.0.16","2.0.17","2.0.18","2.0.19","2.0.2","2.0.20","2.0.21","2.0.22","2.0.23","2.0.24","2.0.25","2.0.26","2.0.27","2.0.28","2.0.29","2.0.3","2.0.30","2.0.31","2.0.32","2.0.33","2.0.34","2.0.35","2.0.36","2.0.37","2.0.38","2.0.39","2.0.4","2.0.40","2.0.41","2.0.42","2.0.43","2.0.44","2.0.45","2.0.46","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9"]},{"source":"osv","ecosystem":"Packagist","package":"phpseclib/phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.0.36"}]}],"versions":["3.0.0","3.0.1","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.2","3.0.20","3.0.21","3.0.22","3.0.23","3.0.3","3.0.33","3.0.34","3.0.35","3.0.4","3.0.5","3.0.6","3.0.7","3.0.8","3.0.9"]},{"source":"osv","ecosystem":"Packagist","package":"phpseclib/phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.1"},{"fixed":"1.0.23"}]}],"versions":["0.3.0","0.3.1","0.3.10","0.3.5","0.3.6","0.3.7","0.3.8","0.3.9","1.0.0","1.0.1","1.0.10","1.0.11","1.0.12","1.0.13","1.0.14","1.0.15","1.0.16","1.0.17","1.0.18","1.0.19","1.0.2","1.0.20","1.0.21","1.0.22","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"php-phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.23-2ubuntu0.1~esm2"}]}],"versions":["2.0.21-2","2.0.23-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.18-2ubuntu0.1~esm1"}]}],"versions":["1.0.16-2","1.0.18-2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.20-1+deb12u3build0.22.04.1"}]}],"versions":["1.0.19-3ubuntu2","1.0.19-3ubuntu3","1.0.20-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"php-phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.36-1ubuntu0.1~esm2"}]}],"versions":["2.0.30-2ubuntu1","2.0.34-1","2.0.35-1","2.0.36-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"php-phpseclib3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.13-1ubuntu0.1~esm1"}]}],"versions":["3.0.9-1","3.0.10-1","3.0.12-2","3.0.13-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.20-1ubuntu0.1~esm1"}]}],"versions":["1.0.19-3ubuntu2","1.0.19-3ubuntu3","1.0.20-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"php-phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.1-1ubuntu0.1~esm2"}]}],"versions":["2.0.1-1","2.0.1-1build1"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.1-3ubuntu0.1+esm1"}]}],"versions":["0.3.10-3","1.0.0-2","1.0.0-3","1.0.1-1","1.0.1-3","1.0.1-3ubuntu0.1"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"php-phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.9-1ubuntu0.1~esm2"}]}],"versions":["2.0.6-1","2.0.7-1","2.0.9-1"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.9-1ubuntu0.1~esm1"}]}],"versions":["1.0.7-1","1.0.8-1","1.0.9-1"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"php-phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.23-2ubuntu0.1~esm2"}]}],"versions":["2.0.21-2","2.0.23-2"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.18-2ubuntu0.1~esm1"}]}],"versions":["1.0.16-2","1.0.18-2"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"php-phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.36-1ubuntu0.1~esm2"}]}],"versions":["2.0.30-2ubuntu1","2.0.34-1","2.0.35-1","2.0.36-1"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"php-phpseclib3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.13-1ubuntu0.1~esm1"}]}],"versions":["3.0.9-1","3.0.10-1","3.0.12-2","3.0.13-1"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.20-1ubuntu0.1~esm1"}]}],"versions":["1.0.19-3ubuntu2","1.0.19-3ubuntu3","1.0.20-1"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.1-3ubuntu0.1+esm1"}]}],"versions":["0.3.10-3","1.0.0-2","1.0.0-3","1.0.1-1","1.0.1-3","1.0.1-3ubuntu0.1"],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.9-1ubuntu0.1~esm2"}]}],"versions":["1.0.7-1","1.0.8-1","1.0.9-1","1.0.9-1ubuntu0.1~esm1"],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.18-2ubuntu0.1~esm2"}]}],"versions":["1.0.16-2","1.0.18-2","1.0.18-2ubuntu0.1~esm1"],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.20-1+deb12u3build0.22.04.1"}]}],"versions":["1.0.19-3ubuntu2","1.0.19-3ubuntu3","1.0.20-1"],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.23-1ubuntu0.1~esm1"}]}],"versions":["1.0.21-2","1.0.22-1","1.0.23-1"],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:Pro:26.04:LTS","package":"phpseclib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.24-1ubuntu0.1~esm1"}]}],"versions":["1.0.23-6","1.0.24-1"],"bundled":5},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"cacti","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.30+git457.e55c2aea-1.1"}]}]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"phpseclib","product":"phpseclib"}],"references":[{"url":"https://github.com/phpseclib/phpseclib/blob/978d081fe50ff92879c50ff143c62a143edb0117/phpseclib/File/ASN1.php#L1129","tags":["x_transferred","Product","web"]},{"url":"https://gist.github.com/katzj/ee72f3c2a00590812b2ea3c0c8890e0b","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/03/msg00002.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","article","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/03/msg00003.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","article","web"]},{"url":"https://github.com/phpseclib/phpseclib/security/advisories/GHSA-f2qx-66wf-wvvx","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27355","tags":["advisory"]},{"url":"https://github.com/phpseclib/phpseclib/commit/e32531001b4d62c66c3d824ccef54ffad835eb59","tags":["web","report"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/phpseclib/phpseclib/CVE-2024-27355.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-f2qx-66wf-wvvx"},{"url":"https://github.com/advisories/GHSA-jr22-8qgm-4q87","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27355.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-27355","tags":["advisory"]},{"url":"https://github.com/phpseclib/phpseclib","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2024-27355","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-27355","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-7404-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/notices/USN-8769-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-30130","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2023-52892","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2024-27354","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2023-48795","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2026-32935","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2024-27355","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2024-27355","description":"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).","status":"published","published":"2024-03-01T00:00:00Z","modified":"2024-08-13T13:38:16.577Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"adp"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:34:12.982241Z"}],"euvd":[{"id":"EUVD-2024-0951","description":"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).","status":"published","published":"2024-03-01T00:00:00Z","modified":"2024-08-13T13:38:16Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-03T00:56:19.192984Z"}],"ghsa":[{"id":"GHSA-f2qx-66wf-wvvx","title":"phpseclib guardrails needed on OID length","description":"### 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","status":"published","published":"2026-05-08T18:24:30Z","modified":"2026-05-08T18:24:30Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:40:04.762828Z"},{"id":"GHSA-jr22-8qgm-4q87","title":"Duplicate Advisory: phpseclib does not properly limit the ASN1 OID length","description":"### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-f2qx-66wf-wvvx. This link is maintained to preserve external references.\n\n### Original Description\nAn 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).","status":"withdrawn","published":"2024-03-02T00:31:33Z","modified":"2026-05-08T18:24:10Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:40:04.762828Z"}],"nvd":[{"id":"CVE-2024-27355","description":"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).","status":"published","published":"2024-03-01T23:15:08.553Z","modified":"2026-06-17T07:19:43.123Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:09:38.473056Z"}],"osv":[{"id":"CVE-2024-27355","description":"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).","status":"published","published":"2024-03-01T00:00:00Z","modified":"2026-10-28T02:30:33.761105851Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:39.569658Z"},{"id":"DEBIAN-CVE-2024-27355","description":"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).","status":"published","published":"2024-03-01T23:15:08.553Z","modified":"2026-11-02T12:02:02.21034112Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:42.204259Z"},{"id":"GHSA-f2qx-66wf-wvvx","title":"phpseclib guardrails needed on OID length","description":"### 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","status":"published","published":"2026-05-08T18:24:30Z","modified":"2026-05-08T18:41:11.562325Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:46:45.639885Z"},{"id":"GHSA-jr22-8qgm-4q87","title":"Duplicate Advisory: phpseclib does not properly limit the ASN1 OID length","description":"### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-f2qx-66wf-wvvx. This link is maintained to preserve external references.\n\n### Original Description\nAn 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).","status":"withdrawn","published":"2024-03-02T00:31:33Z","modified":"2026-09-10T03:50:10.504672422Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:46:50.687609Z"},{"id":"UBUNTU-CVE-2024-27355","description":"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).","status":"published","published":"2024-03-01T23:15:00Z","modified":"2026-10-06T23:30:57.230092051Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:54:48.333535Z"},{"id":"DLA-3749-1","title":"phpseclib - security update","status":"published","published":"2024-03-05T00:00:00Z","modified":"2026-03-09T01:20:45.512058Z","updated_at":"2026-11-02T15:46:12.203458Z"},{"id":"DLA-3750-1","title":"php-phpseclib - security update","status":"published","published":"2024-03-05T00:00:00Z","modified":"2026-03-09T01:20:55.72159Z","updated_at":"2026-11-02T15:46:12.203458Z"},{"id":"openSUSE-SU-2026:10920-1","title":"cacti-1.2.30+git457.e55c2aea-1.1 on GA media","description":"These are all security issues fixed in the cacti-1.2.30+git457.e55c2aea-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-06-01T00:00:00Z","modified":"2026-06-02T08:45:07.199228853Z","updated_at":"2026-11-02T16:58:38.95195Z"},{"id":"USN-7404-1","title":"phpseclib vulnerabilities","description":"It was discovered that phpseclib did not correctly handle RSA PKCS#1\nv1.5 signature verification. An attacker could possibly use this issue to\nbypass authentication. This issue only affected Ubuntu 20.04 LTS.\n(CVE-2021-30130)\n\nIt was discovered that phpseclib did not correctly handle certain\ncharacters in certain TLS fields, which could lead to name confusion.\nAn attacker could possibly use this issue to bypass authentication.\n(CVE-2023-52892)\n\nIt was discovered that phpseclib incorrectly limited the size of prime\nnumbers generated by isPrime. An attacker could possibly use this issue\nto cause a denial of service. (CVE-2024-27354)\n\nIt was discovered that phpseclib did not correctly handle processing the\nASN.1 object identifier of a certificate. An attacker could possibly use\nthis issue to cause a denial of service. This issue only affected\nUbuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2024-27355)\n","status":"published","published":"2025-04-02T01:35:46Z","modified":"2026-06-25T13:32:30.293856464Z","updated_at":"2026-11-02T16:58:19.988474Z"},{"id":"USN-8769-1","title":"phpseclib vulnerability","description":"It was discovered that phpseclib did not perform padding validation in\nconstant time when using AES in CBC mode. A remote attacker could possibly\nuse this issue to conduct a padding oracle timing attack and obtain\nsensitive information.","status":"published","published":"2026-09-15T15:59:40Z","modified":"2026-09-16T02:57:28.071001132Z","updated_at":"2026-11-02T16:58:26.907654Z"}]}}
