CVE-2026-129438 Incorrect RFC 3986 URI serialization for oversized input
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- PHPUbuntuDebianRed Hat
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.
Upgrade path
6 packages: 4 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/php8.1(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/php8.3(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| PHP | >= 8.5.0, < 8.5.13 | 8.5.13 | Fixed |
| redhat/php-main(Red Hat hummingbird 1) | < 8.5.13-0.1.hum1 | 8.5.13-0.1.hum1 | Fixed |
| ubuntu/php8.5(Ubuntu 26.04) | < 8.5.4-0ubuntu1.6 | 8.5.4-0ubuntu1.6 | Fixed |
| ubuntu/php8.5(Ubuntu 26.10) | < 8.5.9-0ubuntu2.2 | 8.5.9-0ubuntu2.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | >= 8.5.0, < 8.5.13 | 8.5.13 |
| ubuntu/php8.1(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/php8.3(Ubuntu:24.04) | All versions | No fix listed |
| redhat/php-main(Red Hat:hummingbird:1) | < 8.5.13-0.1.hum1 | 8.5.13-0.1.hum1 |
| ubuntu/php8.5(Ubuntu:26.04) | < 8.5.4-0ubuntu1.6 | 8.5.4-0ubuntu1.6 |
| ubuntu/php8.5(Ubuntu:26.10) | < 8.5.9-0ubuntu2.2 | 8.5.9-0ubuntu2.2 |
References
- github.com vendor-advisory
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2576611 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-129438 vendor-advisory
- ENISA EUVD EUVD-2026-130190 third-party-advisory
- Ubuntu CVE tracker vendor-advisory
- RHSA-2026:101658 patch vendor-advisory