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

Summary

CVECVE-2026-93682
StatePUBLISHED
Assignerphp
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-25 20:17:47 UTC
Updated2026-09-25 21:17:25 UTC
DescriptionWhen 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.

Risk And Classification

Primary CVSS: v3.1 5.8 MEDIUM from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

Problem Types: CWE-125 | CWE-125 CWE-125 Out-of-bounds read


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary5.8MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
3.1CNACVSS5.8MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA PHP Group PHP affected 8.2.* 8.2.34 semver Not specified
CNA PHP Group PHP affected 8.3.* 8.3.35 semver Not specified
CNA PHP Group PHP affected 8.4.* 8.4.26 semver Not specified
CNA PHP Group PHP affected 8.5.* 8.5.11 semver Not specified

References

ReferenceSourceLinkTags
github.com/php/php-src/security/advisories/GHSA-7875-c8px-7q5f 134c704f-9b21-4f2e-91b3-4a467353bcc0 github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Ilia Alshanetsky (en)

CNA: Jordi Kroon (en)

CNA: David Carlier (en)

CNA: Xinchen Hui (en)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report