# CVE-2023-52892: php-phpseclib3: In phpseclib before 1.0.22, 2.x before 2.0.46, and 3.x before 3.0.33, some characters in Subject Alternative Name fie...

CVE-2023-52892 is fixed in 4 products on 1 platform, first by php-phpseclib 2.0.9-1ubuntu0.1~esm2, released June 27, 2024. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2023-52892
- Priority: High
- CVSS: 7.5 (high)
- EPSS: 0.0038
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jun 27, 2024

## Description

In phpseclib before 1.0.22, 2.x before 2.0.46, and 3.x before 3.0.33, some characters in Subject Alternative Name fields in TLS certificates are incorrectly allowed to have a special meaning in regular expressions (such as a + wildcard), leading to name confusion in X.509 certificate host verification.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | php-phpseclib Debian 12.15 (bookworm) | 2.0.42-1+deb12u3 | [DEBIAN-CVE-2023-52892](https://patchblox.com/security/data/fix/linux/debian-cve-2023-52892.md) | Jun 27, 2024 |
| Linux | php-phpseclib Debian 13.5 (trixie) | 2.0.46-1 | [DEBIAN-CVE-2023-52892](https://patchblox.com/security/data/fix/linux/debian-cve-2023-52892.md) | Jun 27, 2024 |
| Linux | php-phpseclib Debian 14 | 2.0.46-1 | [DEBIAN-CVE-2023-52892](https://patchblox.com/security/data/fix/linux/debian-cve-2023-52892.md) | Jun 27, 2024 |
| Linux | php-phpseclib Ubuntu 18.04.6 LTS (bionic) | 2.0.9-1ubuntu0.1~esm2 | [php-phpseclib 2.0.9-1ubuntu0.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-php-phpseclib-2.0.9-1ubuntu0.1-esm2.md) | Jun 27, 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+deb12u4 | [DEBIAN-CVE-2023-52892](https://patchblox.com/security/data/fix/linux/debian-cve-2023-52892.md) | Jun 27, 2024 |
| Linux | php-phpseclib3 Debian 13.5 (trixie) | 3.0.33-1 | [DEBIAN-CVE-2023-52892](https://patchblox.com/security/data/fix/linux/debian-cve-2023-52892.md) | Jun 27, 2024 |
| Linux | php-phpseclib3 Debian 14 | 3.0.33-1 | [DEBIAN-CVE-2023-52892](https://patchblox.com/security/data/fix/linux/debian-cve-2023-52892.md) | Jun 27, 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 18.04.6 LTS (bionic) | 1.0.9-1ubuntu0.1~esm1 | [php-seclib 1.0.9-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-php-seclib-1.0.9-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 11.6 (bullseye) | 1.0.19-3+deb11u3 | [DLA-4518-1](https://patchblox.com/security/data/fix/linux/dla-4518-1.md) | Mar 30, 2026 |
| Linux | phpseclib Debian 12.15 (bookworm) | 1.0.20-1+deb12u3 | [DEBIAN-CVE-2023-52892](https://patchblox.com/security/data/fix/linux/debian-cve-2023-52892.md) | Jun 27, 2024 |
| Linux | phpseclib Debian 13.5 (trixie) | 1.0.22-1 | [DEBIAN-CVE-2023-52892](https://patchblox.com/security/data/fix/linux/debian-cve-2023-52892.md) | Jun 27, 2024 |

---

Data as of 2026-11-08T00:53:09Z 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.
