{"schemaVersion":3,"id":"CVE-2023-52892","aliases":["UBUNTU-CVE-2023-52892","DEBIAN-CVE-2023-52892"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2024-06-27T00:00:00.000Z","modified":"2024-08-21T20:02:23.834Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00376,"percentile":0.30295,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00376},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00376,"percentile":0.30295}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00376,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00376,"percentile":0.30295}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_PHPSECLIB_PHPSECLIB","name":"Phpseclib","source":"github","url":"https://github.com/phpseclib/phpseclib/issues/1943","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-436","name":"Interpretation Conflict","description":"Product A handles inputs or steps differently than Product B, which causes A to perform incorrect actions based on its perception of B's state.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/436.html"}],"affected":[{"vendor":"debian","product":"php-phpseclib","name":"php-phpseclib","label":"php-phpseclib","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/php-phpseclib","purlType":"deb","versions":[{"text":"< 2.0.42-1+deb12u3","noFixRecorded":false,"fixedIn":null},{"text":"< 2.0.46-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.42-1+deb12u3 | < 2.0.46-1","eol":null,"hubHref":null},{"vendor":"debian","product":"php-phpseclib3","name":"php-phpseclib3","label":"php-phpseclib3","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/php-phpseclib3","purlType":"deb","versions":[{"text":"< 3.0.19-1+deb12u4","noFixRecorded":false,"fixedIn":null},{"text":"< 3.0.33-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.0.19-1+deb12u4 | < 3.0.33-1","eol":null,"hubHref":null},{"vendor":"debian","product":"phpseclib","name":"phpseclib","label":"phpseclib","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/phpseclib","purlType":"deb","versions":[{"text":"< 1.0.20-1+deb12u3","noFixRecorded":false,"fixedIn":null},{"text":"< 1.0.22-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.20-1+deb12u3 | < 1.0.22-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"php-phpseclib","name":"php-phpseclib","label":"php-phpseclib","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php-phpseclib","purlType":"deb","versions":[{"text":"< 2.0.1-1ubuntu0.1~esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 2.0.9-1ubuntu0.1~esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 2.0.23-2ubuntu0.1~esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 2.0.36-1ubuntu0.1~esm2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.1-1ubuntu0.1~esm2 | < 2.0.9-1ubuntu0.1~esm2 | < 2.0.23-2ubuntu0.1~esm2 | < 2.0.36-1ubuntu0.1~esm2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"php-phpseclib3","name":"php-phpseclib3","label":"php-phpseclib3","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php-phpseclib3","purlType":"deb","versions":[{"text":"< 3.0.13-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.0.13-1ubuntu0.1~esm1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"phpseclib","name":"phpseclib","label":"phpseclib","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/phpseclib","purlType":"deb","versions":[{"text":"< 1.0.1-3ubuntu0.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.0.9-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.0.18-2ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.0.20-1+deb12u3build0.22.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.0.20-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.1-3ubuntu0.1+esm1 | < 1.0.9-1ubuntu0.1~esm1 | < 1.0.18-2ubuntu0.1~esm1 | < 1.0.20-1+deb12u3build0.22.04.1 | < 1.0.20-1ubuntu0.1~esm1","eol":null,"hubHref":null},{"vendor":"phpseclib","product":"phpseclib","name":"phpseclib","label":"phpseclib","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.0.0, < 1.0.22","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0, < 2.0.46","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.0, < 3.0.33","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.0.0, < 1.0.22 | ≥ 2.0.0, < 2.0.46 | ≥ 3.0.0, < 3.0.33","eol":null,"hubHref":"/vendor/phpseclib/phpseclib"}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/phpseclib/phpseclib/issues/1943","label":"github.com/phpseclib/phpseclib/issues/1943","hostname":"github.com","tags":["REPORT","Exploit","Issue Tracking"]},{"url":"https://github.com/phpseclib/phpseclib/releases/tag/3.0.33","label":"github.com/phpseclib/phpseclib/releases/tag/3.0.33","hostname":"github.com","tags":["REPORT","Release Notes"]},{"url":"https://github.com/phpseclib/phpseclib/commit/6cd6e8ceab9f2b55c8cd81d2192bf98cbeaf4627","label":"github.com/phpseclib/phpseclib/commit/6cd6e8ceab9f2b55c8cd81d2192bf98cbeaf4627","hostname":"github.com","tags":["REPORT","Patch"]},{"url":"https://github.com/x509-name-testing/name_testing_artifacts","label":"github.com/x509-name-testing/name_testing_artifacts","hostname":"github.com","tags":["REPORT","Not Applicable"]},{"url":"https://ubuntu.com/security/CVE-2023-52892","label":"ubuntu.com/security/CVE-2023-52892","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-52892","label":"www.cve.org/CVERecord?id=CVE-2023-52892","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7404-1","label":"ubuntu.com/security/notices/USN-7404-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-8769-1","label":"ubuntu.com/security/notices/USN-8769-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-52892","label":"security-tracker.debian.org/tracker/CVE-2023-52892","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-4518-1","USN-7404-1","USN-8769-1"],"duplicates":[],"related":["USN-7404-1","USN-8769-1"]},"timeline":[{"kind":"published","date":"2024-06-27T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-21T20:02:23.834Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T08:18:33.523Z","stale":false,"partial":false}}