CVEfocus › CVE database › CVE-2023-52892

CVE-2023-52892

CVSS 7.5 HighEPSS 0.4% (higher than 32% of CVEs)Published 2024-06-27Updated 2024-08-21Assigner: mitre

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.

CWE-436

What to do

Fixed builds are available from Debian, Packagist, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

10Fixed
8Fix pending
5Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04php-phpseclib3Not affected
vulnerable_code_not_present
Ubuntu 25.10php-phpseclibNot affected
vulnerable_code_not_present
Ubuntu 25.10php-phpseclib3Not affected
vulnerable_code_not_present
Ubuntu 25.10phpseclibNot affected
vulnerable_code_not_present
Ubuntu 24.04php-phpseclib3Not affected
vulnerable_code_not_present
Ubuntu 22.04php-phpseclibFix pending2.0.36-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2023-52892
Ubuntu 22.04php-phpseclib3Fix pending3.0.13-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-52892
Ubuntu 22.04phpseclibFixed1.0.20-1+deb12u3build0.22.04.1UBUNTU-CVE-2023-52892
Ubuntu 20.04php-phpseclibFix pending2.0.23-2ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2023-52892
Ubuntu 20.04phpseclibFix pending1.0.18-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-52892
Ubuntu 18.04php-phpseclibFix pending2.0.9-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2023-52892
Ubuntu 18.04phpseclibFix pending1.0.9-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-52892
Ubuntu 16.04php-phpseclibFix pending2.0.1-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2023-52892
Ubuntu 16.04phpseclibFix pending1.0.1-3ubuntu0.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2023-52892
Debian 14php-phpseclibFixed2.0.46-1DEBIAN-CVE-2023-52892
Debian 14php-phpseclib3Fixed3.0.33-1DEBIAN-CVE-2023-52892
Debian 13php-phpseclibFixed2.0.46-1DEBIAN-CVE-2023-52892
Debian 13php-phpseclib3Fixed3.0.33-1DEBIAN-CVE-2023-52892
Debian 13phpseclibFixed1.0.22-1DEBIAN-CVE-2023-52892
Debian 12php-phpseclibFixed2.0.42-1+deb12u3DEBIAN-CVE-2023-52892
Debian 12php-phpseclib3Fixed3.0.19-1+deb12u4DEBIAN-CVE-2023-52892
Debian 12phpseclibFixed1.0.20-1+deb12u3DEBIAN-CVE-2023-52892
Packagist libraryphpseclib/phpseclibFixed3.0.33GHSA-ff7q-6vwh-v9m4

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.