CVE-2026-91767
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Affected 4 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Affected | — |
| sid | Affected | — |
| forky | Affected | — |
| bookworm | Affected | — |
Alpine Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| v3.24 | Fixed | 8.3.35-r0 |
References
- https://security-tracker.debian.org/tracker/CVE-2026-91767
- https://security.alpinelinux.org/vuln/CVE-2026-91767
- https://pkgs.alpinelinux.org/packages?name=php83
- https://pkgs.alpinelinux.org/packages?name=php84
- https://pkgs.alpinelinux.org/packages?name=php85
- https://github.com/php/php-src/security/advisories/GHSA-xr7j-rvgx-xq5p
CWEs
CWE-122
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.