BlogSafe.org

PHP CVEs

Vulnerabilities in the PHP language itself, and which PHP versions they affect.

← Back to CVE list

CVE-2026-93682

MEDIUM 5.8 CVSS 3.1
Published
September 25, 2026
Last modified
October 23, 2026
NVD status
Analyzed
Reported by
security@php.net
Weakness
CWE-125
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

Description

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.

Affected products and versions

  • PHP — From 8.2.0 (including) to 8.2.34 (excluding)
  • PHP — From 8.3.0 (including) to 8.3.35 (excluding)
  • PHP — From 8.4.0 (including) to 8.4.26 (excluding)
  • PHP — From 8.5.0 (including) to 8.5.11 (excluding)

References

  • github.com https://github.com/php/php-src/security/advisories/GHSA-7875-c8px-7q5f Vendor Advisory, Exploit
  • nvd.nist.gov Official NVD record