Improper Input Handling in PHP's URI Serialization Affects Multiple Versions
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
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
More PHP Group Vulnerabilities
Request Smuggling in PHP-FPM
Use-After-Free Vulnerability in PHP Affects Multiple Versions and Releases
Remote Code Execution Vulnerability in PHP Session Management
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction
