Improper Input Handling in PHP's URI Serialization Affects Multiple Versions

6.3MEDIUM

CVE-2026-129438

Key Information:

Vendor

PHP Group

Status
PHP
CVE ID
CVE ID:
CVE-2026-129438
Vendor
CVE Published:
19 November 2026
Fixed in
Fixed in:
8.5.13

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Yes: Works over the network, no login needed
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Update to a fixed version
PHP 8.5.0 to below 8.5.13 is vulnerable
Install PHP 8.5.13 or later
Read the vendor advisory ↗
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach PHP. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Check today"
  • It can be exploited remotely without credentials.
  • Its CVSS severity is medium (6.3).

What is CVE-2026-129438?

The Uri\Rfc3986\Uri class in PHP fails to handle oversized URI inputs correctly, risking truncation during serialization. This vulnerability arises when the string representation of a URI approaches approximately 2 GiB, potentially leading to invalid or truncated outputs from functions like toString() and toRawString(). Consequently, applications that rely on user-provided URIs of this magnitude may process incorrect data, leading to flawed validation and unsafe routing decisions. Additionally, large memory allocations demanded by such operations could result in memory exhaustion, affecting application stability. Developers are urged to ensure they are using secure versions of PHP and to implement proper input validation to mitigate associated risks.

References

Request Smuggling in PHP-FPM

CVE-2026-129289
PHP GroupPHP👾9.2CRITICAL

Use-After-Free Vulnerability in PHP Affects Multiple Versions and Releases

CVE-2026-129496
PHP GroupPHP😄👾9.2CRITICAL

Remote Code Execution Vulnerability in PHP Session Management

CVE-2026-126714
PHP GroupPHP🔥😄👾9.2CRITICAL
View more PHP Group vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

CVSS V4

Score:
6.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Credit

Sahan Chathumina
Saad FELLAHI
Kanishka De SIlva
Tim Düsterhus
Alexandre Daubois
.