{"schema":"threatline.record/2","record":{"id":"CVE-2026-91767","aliases":["GHSA-xr7j-rvgx-xq5p"],"summary":"Heap-buffer-overflow in php_openssl_matches_wildcard_name on crafted server cert wildcard CN","details":"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.","categories":["Runtimes & languages"],"product":"PHP","vendor":"PHP Group","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-91767","source_modified_at":"2026-09-28T13:31:31.640Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"PHP","vendor":"PHP Group","versions":[{"status":"affected","version":"8.2.*","lessThan":"8.2.34","versionType":"semver"},{"status":"affected","version":"8.3.*","lessThan":"8.3.35","versionType":"semver"},{"status":"affected","version":"8.4.*","lessThan":"8.4.26","versionType":"semver"},{"status":"affected","version":"8.5.*","lessThan":"8.5.11","versionType":"semver"}],"defaultStatus":"unaffected"},{"source":"GitHub Advisory Database","source_url":"https://github.com/php/php-src/security/advisories/GHSA-xr7j-rvgx-xq5p","source_modified_at":"2026-09-25T20:49:54Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"php","name":"ext-openssl"},"range":"<8.2.34"},{"source":"GitHub Advisory Database","source_url":"https://github.com/php/php-src/security/advisories/GHSA-xr7j-rvgx-xq5p","source_modified_at":"2026-09-25T20:49:54Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"php","name":"ext-openssl"},"range":"<8.3.35"},{"source":"GitHub Advisory Database","source_url":"https://github.com/php/php-src/security/advisories/GHSA-xr7j-rvgx-xq5p","source_modified_at":"2026-09-25T20:49:54Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"php","name":"ext-openssl"},"range":"<8.4.26"},{"source":"GitHub Advisory Database","source_url":"https://github.com/php/php-src/security/advisories/GHSA-xr7j-rvgx-xq5p","source_modified_at":"2026-09-25T20:49:54Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"php","name":"ext-openssl"},"range":"<8.5.11"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-91767","source_modified_at":"2026-09-28T13:31:31.640Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"PHP","ecosystem":null},"version":"8.2.34","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-91767","source_modified_at":"2026-09-28T13:31:31.640Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"PHP","ecosystem":null},"version":"8.3.35","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-91767","source_modified_at":"2026-09-28T13:31:31.640Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"PHP","ecosystem":null},"version":"8.4.26","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-91767","source_modified_at":"2026-09-28T13:31:31.640Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"PHP","ecosystem":null},"version":"8.5.11","basis":"first unaffected version stated in the CVE record"},{"source":"GitHub Advisory Database","source_url":"https://github.com/php/php-src/security/advisories/GHSA-xr7j-rvgx-xq5p","source_modified_at":"2026-09-25T20:49:54Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"php","name":"ext-openssl"},"version":"8.2.34"},{"source":"GitHub Advisory Database","source_url":"https://github.com/php/php-src/security/advisories/GHSA-xr7j-rvgx-xq5p","source_modified_at":"2026-09-25T20:49:54Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"php","name":"ext-openssl"},"version":"8.3.35"},{"source":"GitHub Advisory Database","source_url":"https://github.com/php/php-src/security/advisories/GHSA-xr7j-rvgx-xq5p","source_modified_at":"2026-09-25T20:49:54Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"php","name":"ext-openssl"},"version":"8.4.26"},{"source":"GitHub Advisory Database","source_url":"https://github.com/php/php-src/security/advisories/GHSA-xr7j-rvgx-xq5p","source_modified_at":"2026-09-25T20:49:54Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"php","name":"ext-openssl"},"version":"8.5.11"}],"cvss":6.5,"severity":"Medium","kev":{"listed":false},"epss":{"probability":0.00154,"percentile":0.04215,"score_date":"2026-10-23"},"published_at":"2026-09-25T20:53:42.587Z","modified_at":"2026-09-28T13:31:31.640Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-91767","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-09-28T13:31:31.640Z"},{"source":"GitHub Advisory Database","url":"https://github.com/php/php-src/security/advisories/GHSA-xr7j-rvgx-xq5p","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-09-25T20:49:54Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-91767","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","GitHub Advisory Database","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/php/php-src/security/advisories/GHSA-xr7j-rvgx-xq5p","tags":["vendor-advisory"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","assessed_at":"2026-09-28T12:56:38.307648Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-09-28T13:31:31.640Z","content_hash":"6f6760abe3edd8394ab157b038ebc2c9b43523ca2b931d4a16831a287ae85d09"}}
