Heap-based buffer overflow in PHP - CVE-2026-91767
Published: September 24, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to a heap-based buffer overflow in php_openssl_matches_wildcard_name() in ext/openssl/xp_ssl.c when verifying a TLS server certificate wildcard name against a shorter hostname. A remote attacker can present a crafted TLS server certificate with a wildcard common name to disclose sensitive information.
The crafted certificate must be trusted by the certificate authority in use or be presented by a server controlled by the attacker.