---
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
patched:
  - hardened_images
published: '2026-09-25'
updated: '2026-09-29'
sourceUpdated: '2026-09-29T21:27:41.130'
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
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-93682.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-93682'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2541615'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-93682'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-93682'
  - url: 'https://access.redhat.com/errata/RHSA-2026:70720'
tags:
  - nvd
  - cve.org
  - exploit-available
  - csaf
  - vex
  - red-hat
epss: 0.00335
epssPercentile: 0.26765
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.

## Vendor advisories

- **RHSA-2026:70720** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-09-23 · [advisory](https://access.redhat.com/errata/RHSA-2026:70720)
- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, … · updated 2026-09-25 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-93682.json)
