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.
Published: 2026-09-25
Score: 5.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Redirect manipulation by a malicious server controlling the target via an empty Location header
Action: Patch
AI Analysis

Impact

An out-of-bounds read occurs when PHP's HTTP stream wrapper follows a redirect whose Location header is empty. The code reads one byte past the end of the buffer storing the location value, and that byte determines whether the client is redirected to the host root or to the current directory. This allows an attacker to influence a client's navigation path without modifying the requested URL, potentially enabling phishing or other malicious content delivery. The weakness is a classic misuse of buffer bounds, identified as CWE-125, and does not lead to code execution or privilege escalation on its own.

Affected Systems

The vulnerability affects PHP releases distributed by the PHP Group for the PHP language. No specific version numbers are listed in the advisory, so the impact applies to all affected PHP builds until the bug is fixed in a newer release.

Risk and Exploitability

The CVSS score of 5.8 indicates moderate severity; the EPSS score is unavailable, and the vulnerability is not listed on CISA KEV. The likely attack vector is remote: an attacker can serve a crafted HTTP response with an empty Location header to any PHP-enabled application that follows redirects. Without a patch, the attacker can subvert user navigation, but the potential for broader compromise is limited to the mild impact on redirection control.

Generated by OpenCVE AI on September 25, 2026 at 21:48 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade PHP to the latest release that resolves the HTTP stream wrapper redirect bug, ensuring the bug is incorporated in your environment.
  • Verify that the updated PHP version correctly handles redirects with empty Location headers by conducting unit or integration tests against a controlled HTTP response.
  • If an upgrade is not immediately feasible, implement a temporary server-side check or configuration that suppresses following redirects when the Location header is empty, thereby preventing the out-of-bounds read.

Generated by OpenCVE AI on September 25, 2026 at 21:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4819-1 php8.2 security update
Debian DSA Debian DSA DSA-6514-1 php8.4 security update
History

Sat, 26 Sep 2026 10:45:00 +0000

Type Values Removed Values Added
First Time appeared Php Group
Php Group php
Vendors & Products Php Group
Php Group php

Sat, 26 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
First Time appeared Redhat
Redhat hummingbird
CPEs cpe:/a:redhat:hummingbird:1
Vendors & Products Redhat
Redhat hummingbird
References
Metrics threat_severity

None

threat_severity

Moderate


Fri, 25 Sep 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 25 Sep 2026 20:15:00 +0000

Type Values Removed Values Added
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.
Title Out-of-bounds read in the HTTP stream wrapper when following a redirect with an empty Location header
Weaknesses CWE-125
References
Metrics cvssV3_1

{'score': 5.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: php

Published:

Updated: 2026-09-25T20:38:14.346Z

Reserved: 2026-09-18T14:18:02.748Z

Link: CVE-2026-93682

cve-icon Vulnrichment

Updated: 2026-09-25T20:38:08.147Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-25T20:17:47.597

Modified: 2026-09-29T21:27:41.130

Link: CVE-2026-93682

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-25T20:02:11Z

Links: CVE-2026-93682 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-26T10:30:09Z

Weaknesses