{"id":"CVE-2023-52892","details":"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.","aliases":["GHSA-ff7q-6vwh-v9m4"],"modified":"2026-08-12T03:51:48.724469986Z","published":"2024-06-27T00:00:00Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52892.json","cna_assigner":"mitre"},"references":[{"type":"WEB","url":"https://github.com/phpseclib/phpseclib/releases/tag/3.0.33"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52892.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52892"},{"type":"REPORT","url":"https://github.com/phpseclib/phpseclib/issues/1943"},{"type":"FIX","url":"https://github.com/phpseclib/phpseclib/commit/6cd6e8ceab9f2b55c8cd81d2192bf98cbeaf4627"},{"type":"PACKAGE","url":"https://github.com/x509-name-testing/name_testing_artifacts"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/phpseclib/phpseclib","events":[{"introduced":"844134df95e42b93ed5506a2d11ca5accda99412"},{"fixed":"db278731472afb1621353b659609b0f9054a1879"},{"introduced":"a74aa9efbe61430fcb60157c8e025a48ec8ff604"},{"fixed":"498e67a0c82bd5791fda9b0dd0f4ec8e8aebb02d"},{"introduced":"fe62c85e0203503231d489af95d0ac053b7d3575"},{"fixed":"33fa69b2514a61138dd48e7a49f99445711e0ad0"},{"fixed":"6cd6e8ceab9f2b55c8cd81d2192bf98cbeaf4627"}],"database_specific":{"cpe":"cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"1.0.0"},{"fixed":"1.0.22"},{"introduced":"2.0.0"},{"fixed":"2.0.46"},{"introduced":"3.0.0"},{"fixed":"3.0.33"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["3.0.23","2.0.45","3.0.22","3.0.21","2.0.44","3.0.20","2.0.43","2.0.42","3.0.19","2.0.41","3.0.18","2.0.40","3.0.17","2.0.39","3.0.16","2.0.38","3.0.15","3.0.14","2.0.37","3.0.13","2.0.36","2.0.35","3.0.12","3.0.11","2.0.34","3.0.10","2.0.33","3.0.9","2.0.32","3.0.8","2.0.31","3.0.7","3.0.6","3.0.5","3.0.4","3.0.3","3.0.2","3.0.1","2.0.30","3.0.0","2.0.29","2.0.28","2.0.27","2.0.26","2.0.25","2.0.24","2.0.23","2.0.22","2.0.21","2.0.20","2.0.19","2.0.18","2.0.17","2.0.16","2.0.15","2.0.14","2.0.13","2.0.12","2.0.11","2.0.10","2.0.9","2.0.7","2.0.6","2.0.5","2.0.4","2.0.3","2.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52892.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}