All vulnerabilities

Servers and applications

CVE-2026-91767

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…

Severity
Medium 6.5
Published
25 Sept 2026
Last changed
27 Oct 2026
Added to UpHeron
27 Oct 2026
Fixed in
8.2.34, 8.3.35, 8.4.26, 8.5.11
Exploit chance
0.1% in the next 30 daysHigher than 1% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Heap-based buffer overflow (CWE-122)
Attack
From the same local network · No login needed · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Sources
NVD

Description

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.

From NVD.

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • From 8.2.0 before 8.2.34
  • From 8.3.0 before 8.3.35
  • From 8.4.0 before 8.4.26
  • From 8.5.0 before 8.5.11

About PHP

scripting language focused on web development

From Wikidata, CC0 1.0.
Share of websites with a known server-side language
68.2%W3Techs, Nov 2026
Developers who used it in the past year
18.9%Stack Overflow Developer Survey 2025, 2025
Docker Hub pulls
1,405,401,976Docker Hub, 15 Nov 2026
GitHub stars
41,786GitHub, 15 Nov 2026
Forks
8,531GitHub, 15 Nov 2026
Latest release
php-8.5.12GitHub, 15 Nov 2026
Released
21 Oct 2026GitHub
Developer
Rasmus LerdorfWikidata
License
PHP License, 3-clause BSD LicenseWikidata
Written in
CWikidata
First released
8 Jun 1995Wikidata
First published on GitHub
16 Jun 2011GitHub

Release lines

ReleaseLatestSecurity fixes
8.58.5.12Until 31 Dec 2029
8.48.4.27Until 31 Dec 2028
8.38.3.36Until 31 Dec 2027
8.28.2.35Until 31 Dec 2026
8.18.1.34Ended 31 Dec 2025
8.08.0.30Ended 26 Nov 2023

From endoflife.date.

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-91767
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-91767