# CVE-2024-27355: php-phpseclib: 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

CVE-2024-27355 is fixed in 4 products on 1 platform, first by DEBIAN-CVE-2024-27355, released March 1, 2024. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2024-27355
- Priority: High
- CVSS: 7.5 (high)
- EPSS: 0.0057
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Mar 1, 2024

## 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).

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | php-phpseclib Debian 12.15 (bookworm) | 2.0.42-1+deb12u2 | [DEBIAN-CVE-2024-27355](https://patchblox.com/security/data/fix/linux/debian-cve-2024-27355.md) | Mar 1, 2024 |
| Linux | php-phpseclib Debian 13.5 (trixie) | 2.0.47-1 | [DEBIAN-CVE-2024-27355](https://patchblox.com/security/data/fix/linux/debian-cve-2024-27355.md) | Mar 1, 2024 |
| Linux | php-phpseclib Debian 14 | 2.0.47-1 | [DEBIAN-CVE-2024-27355](https://patchblox.com/security/data/fix/linux/debian-cve-2024-27355.md) | Mar 1, 2024 |
| Linux | php-phpseclib Ubuntu 20.04 LTS (focal) | 2.0.23-2ubuntu0.1~esm2 | [php-phpseclib 2.0.23-2ubuntu0.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-php-phpseclib-2.0.23-2ubuntu0.1-esm2.md) | Jun 27, 2024 |
| Linux | php-phpseclib Ubuntu 22.04.1 LTS (jammy) | 2.0.36-1ubuntu0.1~esm2 | [php-phpseclib 2.0.36-1ubuntu0.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-php-phpseclib-2.0.36-1ubuntu0.1-esm2.md) | Jun 27, 2024 |
| Linux | php-phpseclib3 Debian 12.15 (bookworm) | 3.0.19-1+deb12u3 | [DEBIAN-CVE-2024-27355](https://patchblox.com/security/data/fix/linux/debian-cve-2024-27355.md) | Mar 1, 2024 |
| Linux | php-phpseclib3 Debian 13.5 (trixie) | 3.0.36-1 | [DEBIAN-CVE-2024-27355](https://patchblox.com/security/data/fix/linux/debian-cve-2024-27355.md) | Mar 1, 2024 |
| Linux | php-phpseclib3 Debian 14 | 3.0.36-1 | [DEBIAN-CVE-2024-27355](https://patchblox.com/security/data/fix/linux/debian-cve-2024-27355.md) | Mar 1, 2024 |
| Linux | php-phpseclib3 Ubuntu 22.04.1 LTS (jammy) | 3.0.13-1ubuntu0.1~esm1 | [php-phpseclib3 3.0.13-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-php-phpseclib3-3.0.13-1ubuntu0.1-esm1.md) | Jun 27, 2024 |
| Linux | php-seclib Ubuntu 20.04 LTS (focal) | 1.0.18-2ubuntu0.1~esm1 | [php-seclib 1.0.18-2ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-php-seclib-1.0.18-2ubuntu0.1-esm1.md) | Jun 27, 2024 |
| Linux | php-seclib Ubuntu 22.04.1 LTS (jammy) | 1.0.20-1ubuntu0.1~esm1 | [php-seclib 1.0.20-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-php-seclib-1.0.20-1ubuntu0.1-esm1.md) | Jun 27, 2024 |
| Linux | phpseclib Debian 12.15 (bookworm) | 1.0.20-1+deb12u2 | [DEBIAN-CVE-2024-27355](https://patchblox.com/security/data/fix/linux/debian-cve-2024-27355.md) | Mar 1, 2024 |
| Linux | phpseclib Debian 13.5 (trixie) | 1.0.23-1 | [DEBIAN-CVE-2024-27355](https://patchblox.com/security/data/fix/linux/debian-cve-2024-27355.md) | Mar 1, 2024 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
