CVE-2026-93682
Received Received - Intake

HTTP Stream Wrapper Redirect Handling Heap Buffer Overflow

Vulnerability report for CVE-2026-93682, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-25

Last updated on: 2026-09-25

Assigner: PHP Group

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-25
Last Modified
2026-09-25
Generated
2026-09-26
AI Q&A
2026-09-26
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-125 The product reads data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability occurs in PHP's HTTP stream wrapper when handling redirects. If a server responds to a redirect request with a Location header that has an empty value, the code reads one byte past the end of the buffer storing the location. This out-of-bounds byte determines the redirect target, allowing a malicious server to control whether the client is redirected to the host root or the current directory.

Detection Guidance

This vulnerability involves HTTP stream wrapper handling of redirects with empty Location headers. Detection requires monitoring HTTP client behavior during redirects. Check PHP error logs for out-of-bounds read warnings and inspect network traffic for malformed redirect responses with empty Location headers. Use tools like tcpdump or Wireshark to capture HTTP responses and verify redirect handling logic in PHP applications.

Impact Analysis

An attacker could exploit this to manipulate where your application redirects, potentially leading to unauthorized access to sensitive data or unintended actions. For example, it might redirect users to a malicious site or expose internal paths.

Compliance Impact

This vulnerability could potentially impact compliance with GDPR or HIPAA if it leads to unauthorized data exposure or access. The flaw allows a malicious server to control redirect targets, which might result in unintended data transmission or access to sensitive resources. However, specific compliance impacts depend on how the vulnerability is exploited in a given environment.

Mitigation Strategies

Update PHP to the latest patched version to address the heap buffer overflow in the HTTP stream wrapper redirect handling. Monitor network traffic for unusual redirect patterns or empty Location headers.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-93682. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart