What’s Vulnerable › Vulnerabilities
CVE-2026-93682: Out-of-bounds read in the HTTP stream wrapper when following a redirect with an empty Location header
- Severity: medium (CVSS 5.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-09-25 · updated 2026-10-23
- Weakness: CWE-125
Description
When the HTTP stream wrapper follows a redirect and the response carries a Location header with an empty value, the redirect code reads one byte past the end of the heap buffer holding the location. The value of that out-of-bounds byte decides which redirect target is built, so a malicious server controls whether the client is sent to the host root or to the current directory.
Affected products
- 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 — fixed in 8.2.34, 8.3.35, 8.4.26, 8.5.11
How to fix
Upgrade to a fixed version: PHP 8.2.34, 8.3.35, 8.4.26, 8.5.11. Check the vendor advisory for mitigations.
References
- https://github.com/php/php-src/security/advisories/GHSA-7875-c8px-7q5f
- https://github.com/php/php-src/security/advisories/GHSA-7875-c8px-7q5f
Get alerted when CVE-2026-93682 or the next vulnerability affects your stack