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.
References
| Link | Resource |
|---|---|
| https://github.com/phpseclib/phpseclib/commit/6cd6e8ceab9f2b55c8cd81d2192bf98cbeaf4627 | Patch |
| https://github.com/phpseclib/phpseclib/issues/1943 | Exploit Issue Tracking |
| https://github.com/phpseclib/phpseclib/releases/tag/3.0.33 | Release Notes |
| https://github.com/x509-name-testing/name_testing_artifacts | Not Applicable |
| https://github.com/phpseclib/phpseclib/commit/6cd6e8ceab9f2b55c8cd81d2192bf98cbeaf4627 | Patch |
| https://github.com/phpseclib/phpseclib/issues/1943 | Exploit Issue Tracking |
| https://github.com/phpseclib/phpseclib/releases/tag/3.0.33 | Release Notes |
| https://github.com/x509-name-testing/name_testing_artifacts | Not Applicable |
Configurations
Configuration 1 (hide)
|
History
22 Oct 2025, 20:40
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Phpseclib
Phpseclib phpseclib |
|
| CPE | cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:* | |
| References | () https://github.com/phpseclib/phpseclib/commit/6cd6e8ceab9f2b55c8cd81d2192bf98cbeaf4627 - Patch | |
| References | () https://github.com/phpseclib/phpseclib/issues/1943 - Exploit, Issue Tracking | |
| References | () https://github.com/phpseclib/phpseclib/releases/tag/3.0.33 - Release Notes | |
| References | () https://github.com/x509-name-testing/name_testing_artifacts - Not Applicable |
Information
Published : 2024-06-27 22:15
Updated : 2025-10-22 20:40
NVD link : CVE-2023-52892
Mitre link : CVE-2023-52892
CVE.ORG link : CVE-2023-52892
JSON object : View
Products Affected
phpseclib
- phpseclib
CWE
CWE-436
Interpretation Conflict
