Vendors › PHP

CVE-2026-93682

Medium (5.3) EPSS 0.4% PHP · standard

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

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.

Published2026-09-24
Updated2026-09-25
AffectedPHP versions < 8.2.34; PHP versions < 8.3.35; PHP versions < 8.4.26; PHP versions < 8.5.11
FixUpgrade to 8.2.34, 8.3.35, 8.4.26, 8.5.11 (first fixed release per supported branch).
CVEMesh analysisThe vulnerability is an out-of-bounds read in the HTTP stream wrapper, which can be exploited when a malicious server sends a redirect with an empty Location header. The advisory does not state exploitation conditions. To mitigate this issue, upgrade to PHP version 8.2.34, 8.3.35, 8.4.26, or 8.5.11.
AI-generated — see the vendor advisory for the authoritative text.
Vendor advisoryhttps://github.com/php/php-src/security/advisories/GHSA-7875-c8px-7q5f

CVEs (1)

CVECWETypeImpactLinks
CVE-2026-93682CWE-125OverflowCode ExecutionNVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Same CVE in other advisories

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.