{"id":"CVE-2026-91767","aliases":["CVE-2026-91767","BIT-LIBPHP-2026-91767","BIT-PHP-2026-91767","BIT-PHP-MIN-2026-91767","GHSA-xr7j-rvgx-xq5p"],"related":[],"kind":"vulnerability","state":"published","title":"Heap-buffer-overflow in php_openssl_matches_wildcard_name on crafted server cert wildcard CN","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-09-25T20:53:42.587Z","modified":"2026-11-11T02:55:52.470Z","severity":{"scorer":"php","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"php","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-122"],"affected":[{"ranges":[{"type":"semver","introduced":"8.2.*","fixed":"8.2.34","status":"affected"},{"type":"semver","introduced":"8.3.*","fixed":"8.3.35","status":"affected"},{"type":"semver","introduced":"8.4.*","fixed":"8.4.26","status":"affected"},{"type":"semver","introduced":"8.5.*","fixed":"8.5.11","status":"affected"}],"vendor":"PHP Group","product":"PHP","package":"ext-openssl","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"8.2.0","fixed":"8.2.34"},{"status":"affected","introduced":"8.3.0","fixed":"8.3.35"},{"status":"affected","introduced":"8.4.0","fixed":"8.4.26"},{"status":"affected","introduced":"8.5.0","fixed":"8.5.11"}],"vendor":"php","product":"php","cpe":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"8.2.0","status":"affected","fixed":"8.2.34"},{"type":"semver","introduced":"8.3.0","status":"affected","fixed":"8.3.35"},{"type":"semver","introduced":"8.4.0","status":"affected","fixed":"8.4.26"},{"type":"semver","introduced":"8.5.0","status":"affected","fixed":"8.5.11"}],"ecosystem":"Bitnami","package":"libphp","purl":"pkg:bitnami/libphp","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"8.2.0","status":"affected","fixed":"8.2.34"},{"type":"semver","introduced":"8.3.0","status":"affected","fixed":"8.3.35"},{"type":"semver","introduced":"8.4.0","status":"affected","fixed":"8.4.26"},{"type":"semver","introduced":"8.5.0","status":"affected","fixed":"8.5.11"}],"ecosystem":"Bitnami","package":"php","purl":"pkg:bitnami/php","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"8.2.0","status":"affected","fixed":"8.2.34"},{"type":"semver","introduced":"8.3.0","status":"affected","fixed":"8.3.35"},{"type":"semver","introduced":"8.4.0","status":"affected","fixed":"8.4.26"},{"type":"semver","introduced":"8.5.0","status":"affected","fixed":"8.5.11"}],"ecosystem":"Bitnami","package":"php-min","purl":"pkg:bitnami/php-min","source":"bitnami"}],"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-xr7j-rvgx-xq5p","tags":["advisory","vendor-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-91767","tags":["web"],"sources":["bitnami"]}],"credits":["Mohamed Sayed  (flex0geek)","Jakub Zelenka","Arnaud Le Blanc"],"assigner":"php","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-28T12:56:38.307Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-91767","url":"https://www.cve.org/CVERecord?id=CVE-2026-91767","licence":"CVE Terms of Use","modified":"2026-09-28T13:31:31.640Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-91767","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-91767","licence":"Public domain","modified":"2026-10-27T13:14:13.607Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-LIBPHP-2026-91767","url":"https://osv.dev/vulnerability/BIT-LIBPHP-2026-91767","licence":"Apache-2.0","modified":"2026-11-11T02:55:52.470Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PHP-2026-91767","url":"https://osv.dev/vulnerability/BIT-PHP-2026-91767","licence":"Apache-2.0","modified":"2026-11-11T02:55:52.470Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PHP-MIN-2026-91767","url":"https://osv.dev/vulnerability/BIT-PHP-MIN-2026-91767","licence":"Apache-2.0","modified":"2026-11-11T02:55:52.470Z"}],"updatedAt":"2026-11-25T22:59:41.156Z","epss":{"score":0.00139,"percentile":0.03485,"date":"2026-12-01T12:00:22.000Z"}}