CVE-2026-91767
Reported by php · Published September 25, 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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| php8.2-soap | Amazon Linux | 8.2.34-1.amzn2023.0.1 |
| libzip-debuginfo | errata.rockylinux.org | 1.6.1-1.module, 0:1.6.1-1.module+el8.10.0+1912+72767185.x86_64, 0:1.6.1-1.module+el8.10.0+1604+6558efc7.x86_64 |
| php8.2 | Amazon Linux | 8.2.34-1.amzn2023.0.1 |
| php-gmp | errata.rockylinux.org | 7.4.33-8.module, 0:7.4.33-8.module+el8.10.0+40393+c071e357.x86_64, 0:7.4.33-8.module+el8.10.0+40393+c071e357.aarch64 |
| php-debugsource | errata.rockylinux.org | 7.4.33-8.module, 0:7.4.33-8.module+el8.10.0+40393+c071e357.aarch64 |
| php8.2-tidy | Amazon Linux | 8.2.34-1.amzn2023.0.1 |
| php8.3-pgsql | Amazon Linux | 8.3.35-1.amzn2023.0.1 |
| php8.4-intl | Amazon Linux | 8.4.26-1.amzn2023.0.1 |
| php8.5-xml | Amazon Linux | 8.5.11-1.amzn2023.0.1 |
| php8.4-pgsql | Amazon Linux | 8.4.26-1.amzn2023.0.1 |
| php8.2-process | Amazon Linux | 8.2.34-1.amzn2023.0.1 |
| php-dbg | errata.rockylinux.org | 7.4.33-8.module, 0:7.4.33-8.module+el8.10.0+40393+c071e357.x86_64, 0:7.4.33-8.module+el8.10.0+40393+c071e357.aarch64 |
77 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PHP Group | PHP | 8.2.*, 8.3.*, 8.4.* |
| amazon:2023 | php8.2-soap | 0 |
| amazon:2023 | php8.2 | 0 |
| amazon:2023 | php8.2-tidy | 0 |
| amazon:2023 | php8.3-pgsql | 0 |
| amazon:2023 | php8.4-intl | 0 |
| amazon:2023 | php8.5-xml | 0 |
| amazon:2023 | php8.4-pgsql | 0 |
| amazon:2023 | php8.2-process | 0 |
| amazon:2023 | php8.3-process | 0 |
| amazon:2023 | php8.5-devel | 0 |
| amazon:2023 | php8.2-enchant | 0 |
| amazon:2023 | php8.3-snmp | 0 |
| amazon:2023 | php8.3-sodium | 0 |
| amazon:2023 | php8.4-gmp | 0 |
| amazon:2023 | php8.2-dbg | 0 |
| amazon:2023 | php8.4-dbg | 0 |
| amazon:2023 | php8.5-snmp | 0 |
| amazon:2023 | php8.5-zip | 0 |
| amazon:2023 | php8.3-zip | 0 |
…and 102 more
Timeline
- Sep 25, 2026 CVE Published
- Sep 26, 2026 EPSS Score (6 in total, the first dated here)
- Oct 21, 2026 Distribution Patch (2 in total, the first dated here)
- Oct 21, 2026 Security Advisory (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-91767
vulnetix vdb fixes CVE-2026-91767
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-91767/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart