CVE-2024-27355
HIGH 7.5CVSS 3.1phpseclib guardrails needed on OID length
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).
- Published
- 1 Mar 2024
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-400
- Also known as
- GHSA-f2qx-66wf-wvvx
- Sources
- NVDJSONOSV GHSA-f2qx-66wf-wvvxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | phpseclib | phpseclibcpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:* |
>= 1.0.0, < 1.0.23 | 1.0.23 |
| NVD | phpseclib | phpseclibcpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:* |
>= 2.0.0, < 2.0.47 | 2.0.47 |
| NVD | phpseclib | phpseclibcpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.0.36 | 3.0.36 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| OSV | Packagist | phpseclib/phpseclib | >= 2.0.0, < 2.0.47 | 2.0.47 |
| OSV | Packagist | phpseclib/phpseclib | >= 3.0.0, < 3.0.36 | 3.0.36 |
| OSV | Packagist | phpseclib/phpseclib | >= 0.1.1, < 1.0.23 | 1.0.23 |
References
- https://gist.github.com/katzj/ee72f3c2a00590812b2ea3c0c8890e0b · Third Party Advisory, WEB
- https://github.com/phpseclib/phpseclib/blob/978d081fe50ff92879c50ff143c62a143edb0117/phpseclib/File/ASN1.php#L1129 · Product, WEB
- https://lists.debian.org/debian-lts-announce/2024/03/msg00002.html · Mailing List, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2024/03/msg00003.html · Mailing List, Third Party Advisory, WEB
- https://github.com/phpseclib/phpseclib/security/advisories/GHSA-f2qx-66wf-wvvx · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-27355 · ADVISORY
- https://github.com/phpseclib/phpseclib/commit/e32531001b4d62c66c3d824ccef54ffad835eb59 · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/phpseclib/phpseclib/CVE-2024-27355.yaml · WEB
- https://github.com/phpseclib/phpseclib · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 1 Mar 2024)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 8 May 2026)