CVE-2026-91767Орташа6.5Машиналық аударма
php_openssl_matches_wildcard_name функциясында арнайы жасалған сервер сертификатының CN wildcard-ында үймедегі буфердің толып кетуі
Түзету
Түзетілген нұсқалар: 8.2.348.3.358.4.268.5.11
Зардап шегетін нұсқалар
| ext-openssl | бастап 8.2.* → түзетілді 8.2.34 бастап 8.3.* → түзетілді 8.3.35 бастап 8.4.* → түзетілді 8.4.26 бастап 8.5.* → түзетілді 8.5.11 |
Түпнұсқа сипаттама (EN)
Түпнұсқа тақырып: Heap-buffer-overflow in php_openssl_matches_wildcard_name on crafted server cert wildcard CN
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.