Out-of-bounds Read Affecting php package, versions [,8.2.34)[8.3.0RC1,8.3.35)[8.4.0RC1,8.4.26)[8.5.0RC1,8.5.11)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.35% (27th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-bounds Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PHP-20158665
  • published27 Sept 2026
  • disclosed25 Sept 2026
  • creditIlia Alshanetsky

Introduced: 25 Sep 2026

NewCVE-2026-93682  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade php to version 8.2.34, 8.3.35, 8.4.26, 8.5.11 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read in php_stream_http_response_headers_parse() and php_stream_url_wrap_http_ex() in ext/standard/http_fopen_wrapper.c, which allocate location_len + 1 bytes for the redirect target and then dereference the second byte to decide how to resolve it, reading past the end of the one byte allocation produced by an empty Location header. An attacker can trigger a one byte heap over-read whose zero or non-zero value selects whether the redirect resolves against the host root or the current directory, by having a server they control answer with a redirect status and an empty Location header. This requires the application to fetch from an endpoint the attacker controls with follow_location in effect, and the read byte is never returned to the attacker, so the only observable effect is which of the two resolution paths is taken.

CVSS Base Scores

version 4.0
version 3.1