CVE-2026-129438
Description
Incorrect RFC 3986 URI serialization for oversized input. The Uri\Rfc3986\Uri class does not correctly handle the output-size limit and errors of the uriparser library when converting a URI back to a string. For a URI whose string representation reaches approximately 2 GiB, toString(), toRawString() and other serializing operations can return a truncated or invalid string instead of an error. An application that accepts attacker-controlled URI data of that size, has enough memory to process it and trusts the result may make incorrect validation or routing decisions, and the large allocations can exhaust memory. parse_url() and Uri\WhatWg\Url are not affected. This issue affects PHP versions 8.5.* before 8.5.13.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Fixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | php8.4 |
Not affected | — |
| sid | php8.4 |
Not affected | — |
| forky | php8.4 |
Not affected | — |
| bookworm | php8.2 |
Not affected | — |
Gentoo Fixed 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Fixed | 8.2.36 |
Ubuntu Fixed 8 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| xenial | libapache2-mod-php7.0 libphp7.0-embed php7.0 +36 more |
Fixed | 7.0.33-0ubuntu0.16.04.16+esm23 |
| trusty | libapache2-mod-php5 libapache2-mod-php5filter libphp5-embed +26 more |
Fixed | 5.5.9+dfsg-1ubuntu4.29+esm19 |
| stonking | libapache2-mod-php8.5 libphp8.5-embed php8.5 +30 more |
Fixed | 8.5.9-0ubuntu2.2 |
| resolute | php8.5-soap php8.5-sqlite3 php8.5-sybase +30 more |
Fixed | 8.5.4-0ubuntu1.6 |
| noble | php8.3-dev php8.3-enchant php8.3-fpm +32 more |
Fixed | 8.3.6-0ubuntu0.24.04.14 |
| jammy | libapache2-mod-php7.4 libapache2-mod-php8.0 libapache2-mod-php8.1 +34 more |
Fixed | 8.1.2-1ubuntu2.29 |
| focal | libapache2-mod-php7.4 libphp7.4-embed php7.4 +34 more |
Fixed | 7.4.3-4ubuntu2.29+esm6 |
| bionic | libapache2-mod-php7.2 libphp7.2-embed php7.2 +35 more |
Fixed | 7.2.24-0ubuntu0.18.04.17+esm15 |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| php | php | {"startIncluding":"8.5.0","endExcluding":"8.5.13"} | 8.5.13 |
References
CWEs
CWE-190 CWE-252
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.