CVE-2026-93682

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.

Score
CVSS 3.1 5.8 Medium
Status
Analyzed - security@php.net
Published
2026-09-25
Last modified
2026-10-23
Weaknesses
CWE-125

Affected products

References