{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-93682", "assignerOrgId": "dd77f84a-d19a-4638-8c3d-a322d820ed2b", "state": "PUBLISHED", "assignerShortName": "php", "dateReserved": "2026-09-18T14:18:02.748Z", "datePublished": "2026-09-25T20:02:11.467Z", "dateUpdated": "2026-09-25T20:38:14.346Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "dd77f84a-d19a-4638-8c3d-a322d820ed2b", "shortName": "php", "dateUpdated": "2026-09-25T20:02:11.467Z" }, "title": "Out-of-bounds read in the HTTP stream wrapper when following a redirect with an empty Location header", "problemTypes": [ { "descriptions": [ { "lang": "en", "cweId": "CWE-125", "description": "CWE-125 Out-of-bounds read", "type": "CWE" } ] } ], "impacts": [ { "capecId": "CAPEC-540", "descriptions": [ { "lang": "en", "value": "CAPEC-540 Overread Buffers" } ] } ], "affected": [ { "vendor": "PHP Group", "product": "PHP", "packageName": "ext-standard", "versions": [ { "status": "affected", "version": "8.2.*", "lessThan": "8.2.34", "versionType": "semver" }, { "status": "affected", "version": "8.3.*", "lessThan": "8.3.35", "versionType": "semver" }, { "status": "affected", "version": "8.4.*", "lessThan": "8.4.26", "versionType": "semver" }, { "status": "affected", "version": "8.5.*", "lessThan": "8.5.11", "versionType": "semver" } ], "defaultStatus": "unaffected" } ], "descriptions": [ { "lang": "en", "value": "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.", "supportingMedia": [ { "type": "text/html", "base64": false, "value": "
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.