---
id: CVE-2026-93682
title: >-
  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
summary: >-
  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 d…
severity: medium
cvss: 5.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N'
cwe:
  - CWE-125
vendor: PHP Group
product: ext-standard
affected:
  - ext-standard >= 8.2.* < 8.2.34
  - ext-standard >= 8.3.* < 8.3.35
  - ext-standard >= 8.4.* < 8.4.26
  - ext-standard >= 8.5.* < 8.5.11
published: '2026-09-25'
updated: '2026-09-25'
sourceUpdated: '2026-09-25T21:17:25.047'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-93682'
references:
  - url: 'https://github.com/php/php-src/security/advisories/GHSA-7875-c8px-7q5f'
    label: security@php.net
  - url: 'https://github.com/php/php-src/security/advisories/GHSA-7875-c8px-7q5f'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-25T20:37:51.434446Z'
ingestedAt: '2026-09-25T20:17:49.425Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
