Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-91767
Published:September 25, 2026
Updated:October 09, 2026
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.
Affected Packages
https://github.com/php/php-src.git (GITHUB):
Affected version(s) >=php-8.2.0alpha1 <php-8.2.34
Fix Suggestion:
Update to version php-8.2.34
https://github.com/php/php-src.git (GITHUB):
Affected version(s) >=php-8.4.0alpha1 <php-8.4.26
Fix Suggestion:
Update to version php-8.4.26
https://github.com/php/php-src.git (GITHUB):
Affected version(s) >=php-8.5.0alpha1 <php-8.5.11
Fix Suggestion:
Update to version php-8.5.11
https://github.com/php/php-src.git (GITHUB):
Affected version(s) >=php-8.3.0alpha1 <php-8.3.35
Fix Suggestion:
Update to version php-8.3.35
Do you need more information?
Contact Us
CVSS v4
Base Score:
7.1
Attack Vector
ADJACENT
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
ADJACENT
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Heap-based Buffer Overflow
EPSS
Base Score:
0.15