{"id":"CVE-2026-91767","published":"2026-09-25T20:53:42Z","modified":"2026-09-28T13:31:31Z","title":"Heap-buffer-overflow in php_openssl_matches_wildcard_name on crafted server cert wildcard CN","vendor":"PHP","product":"PHP","tier":"tail","description":{"text":"php_openssl_matches_wildcard_name() in ext/openssl/xp_ssl.c underflows the length argument passed to memchr() when a TLS server certificate presents a wildcard name whose literal characters are together longer than the hostname being verified. A malicious server presenting such a certificate makes the PHP client read up to SIZE_MAX bytes past the end of a heap allocation. The path is reachable from any default client stream, because verify_peer_name is enabled by default.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00152,"percentile":0.02228,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-xr7j-rvgx-xq5p","tags":["vendor-advisory"]}],"priority":{"score":5.0,"factors":[{"name":"EPSS percentile","points":0.45},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"php","affectedVersions":[{"vendor":"PHP Group","product":"PHP","versions":[">= 8.2.*, < 8.2.34",">= 8.3.*, < 8.3.35",">= 8.4.*, < 8.4.26",">= 8.5.*, < 8.5.11"]}],"capec":[{"id":"CAPEC-100","name":"Overflow Buffers"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-28T12:56:38.307648Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-87343","exploited":false,"provenance":"source"}}