{"id":"CVE-2023-52892","published":"2024-06-27T00:00:00Z","modified":"2024-08-21T20:02:23Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00376,"percentile":0.32392,"provenance":"source"},"cwes":[{"id":"CWE-436","name":"Interpretation Conflict"}],"references":[{"url":"https://github.com/phpseclib/phpseclib/issues/1943","tags":[]},{"url":"https://github.com/phpseclib/phpseclib/releases/tag/3.0.33","tags":[]},{"url":"https://github.com/phpseclib/phpseclib/commit/6cd6e8ceab9f2b55c8cd81d2192bf98cbeaf4627","tags":[]},{"url":"https://github.com/x509-name-testing/name_testing_artifacts","tags":[]}],"priority":{"score":11.7,"factors":[{"name":"EPSS percentile","points":6.48},{"name":"CVSS severity","points":5.25}]},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2024-08-21T19:54:11.710267Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"phpseclib/phpseclib","vulnerableRanges":["<1.0.22",">=2.0.0, <2.0.46",">=3.0.0, <3.0.33"],"patched":["1.0.22","2.0.46","3.0.33"],"from":["GHSA-ff7q-6vwh-v9m4"],"provenance":"source"}],"summary":{"text":"The flaw is in phpseclib, a PHP library, where certain characters in Subject Alternative Name fields of TLS certificates are treated as regular-expression metacharacters (such as a + wildcard) during X.509 certificate host verification, causing name confusion. An attacker with network access and no authentication or user interaction could present a crafted certificate whose Subject Alternative Name is matched incorrectly, potentially leading to a host being accepted as a different name, with the impact described as a confidentiality compromise.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:52:04Z"},"euvd":{"id":"EUVD-2024-2038","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-30130","published":"2021-04-06","fixed":"3.0.7","kev":false},{"cve":"CVE-2023-27560","published":"2023-03-03","fixed":"3.0.19","kev":false,"link":{"from":"CVE-2023-27560","to":"CVE-2023-52892","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:phpseclib/phpseclib","fromFixed":"3.0.19","toFixed":"3.0.33","daysApart":482}]}},{"cve":"CVE-2023-52892","published":"2024-06-27","fixed":"3.0.33","kev":false},{"cve":"CVE-2023-49316","published":"2023-11-27","fixed":"3.0.34","kev":false},{"cve":"CVE-2024-27354","published":"2024-03-01","fixed":"3.0.36","kev":false},{"cve":"CVE-2024-27355","published":"2024-03-01","fixed":"3.0.36","kev":false}],"package":"Packagist:phpseclib/phpseclib"}}