Heap Buffer Vulnerability in PHP HTTP Stream Wrapper
CVE-2026-93682

5.8MEDIUM

Key Information:

Vendor

PHP Group

Status
Vendor
CVE Published:
25 September 2026

What is CVE-2026-93682?

The PHP HTTP stream wrapper is affected by a vulnerability where a redirect response containing an empty Location header causes the redirect code to read beyond the end of the heap buffer. This out-of-bounds access can lead to the construction of an incorrect redirect target. Consequently, a malicious server could exploit this flaw to control the client's redirect behavior, potentially leading the user to unintended locations, such as the root of the host or to the current directory. It's crucial for users to review their PHP installations and follow security advisories to mitigate the risks associated with this vulnerability.

Affected Version(s)

PHP 8.2.* < 8.2.34

PHP 8.3.* < 8.3.35

PHP 8.4.* < 8.4.26

References

CVSS V3.1

Score:
5.8
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
None
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Ilia Alshanetsky
Jordi Kroon
David Carlier
Xinchen Hui
.