CVE-2026-93682

Out-of-bounds read in the HTTP stream wrapper when following a redirect with an empty Location header

State
Published
Severity
5.8 Medium
Published
Sep 25, 2026
Updated
Sep 25, 2026
Reserved
Sep 18, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.8 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:Nphp

Weaknesses

Affected Products

ProductVersions
PHPPHP Group
  • 8.2.* to before 8.2.34Affected
  • 8.3.* to before 8.3.35Affected
  • 8.4.* to before 8.4.26Affected
  • 8.5.* to before 8.5.11Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.