cve.bz

CVE-2023-52892 phpseclib phpseclib: Interpretation Conflict

7.5 highExploit referenceEPSS 0.4%Fix available

High (7.5) in phpseclib phpseclib. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in phpseclib/phpseclib 1.0.22, 2.0.46, 3.0.33.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 32nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2024-08-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-436 Interpretation Conflict
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-52892 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-52892?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-52892?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-52892 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
phpseclib:phpseclibfrom 1.0.0 before 1.0.22
phpseclib:phpseclibfrom 2.0.0 before 2.0.46
phpseclib:phpseclibfrom 3.0.0 before 3.0.33

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-ff7q-6vwh-v9m4Packagistphpseclib/phpseclib<1.0.221.0.22
GHSA-ff7q-6vwh-v9m4Packagistphpseclib/phpseclib>=2.0.0 <2.0.462.0.46
GHSA-ff7q-6vwh-v9m4Packagistphpseclib/phpseclib>=3.0.0 <3.0.333.0.33

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11php-phpseclib2.0.30-2+deb11u3DLA-4670-1
Debian11phpseclib1.0.19-3+deb11u3DLA-4518-1
Debian12php-phpseclib2.0.42-1+deb12u3DEBIAN-CVE-2023-52892
Debian12php-phpseclib33.0.19-1+deb12u4DEBIAN-CVE-2023-52892
Debian12phpseclib1.0.20-1+deb12u3DEBIAN-CVE-2023-52892
Debian13phpseclib1.0.22-1DEBIAN-CVE-2023-52892
Debian13, 14php-phpseclib2.0.46-1DEBIAN-CVE-2023-52892
Debian13, 14php-phpseclib33.0.33-1DEBIAN-CVE-2023-52892
Ubuntu22.04:LTSphpseclib1.0.20-1+deb12u3build0.22.04.1UBUNTU-CVE-2023-52892 USN-8769-1
UbuntuPro:16.04:LTSphp-phpseclib2.0.1-1ubuntu0.1~esm2UBUNTU-CVE-2023-52892 USN-7404-1
UbuntuPro:16.04:LTSphpseclib1.0.1-3ubuntu0.1+esm1UBUNTU-CVE-2023-52892 USN-7404-1 USN-8769-1
UbuntuPro:18.04:LTSphp-phpseclib2.0.9-1ubuntu0.1~esm2UBUNTU-CVE-2023-52892 USN-7404-1
UbuntuPro:18.04:LTSphpseclib1.0.9-1ubuntu0.1~esm1UBUNTU-CVE-2023-52892 USN-7404-1 USN-8769-1
UbuntuPro:20.04:LTSphp-phpseclib2.0.23-2ubuntu0.1~esm2UBUNTU-CVE-2023-52892 USN-7404-1
UbuntuPro:20.04:LTSphpseclib1.0.18-2ubuntu0.1~esm1UBUNTU-CVE-2023-52892 USN-7404-1 USN-8769-1
UbuntuPro:22.04:LTSphp-phpseclib2.0.36-1ubuntu0.1~esm2UBUNTU-CVE-2023-52892 USN-7404-1
UbuntuPro:22.04:LTSphp-phpseclib33.0.13-1ubuntu0.1~esm1UBUNTU-CVE-2023-52892 USN-7404-1
UbuntuPro:22.04:LTSphpseclib1.0.20-1ubuntu0.1~esm1UBUNTU-CVE-2023-52892 USN-7404-1
UbuntuPro:24.04:LTSphpseclib1.0.23-1ubuntu0.1~esm1USN-8769-1
UbuntuPro:26.04:LTSphpseclib1.0.24-1ubuntu0.1~esm1USN-8769-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

  • CAPEC-34 HTTP Response Splitting Likelihood: Medium · Severity: High
  • CAPEC-105 HTTP Request Splitting Likelihood: Medium · Severity: High
  • CAPEC-273 HTTP Response Smuggling Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON