CVE-2026-129438PHP ext-uri >= 8.5.0, Integer Overflow or Wraparound
NVD
Vulnerability Summary
Incorrect RFC 3986 URI serialization for oversized input. PHP's RFC 3986 URI implementation can return an incorrect string when a very large URI is converted back to text. An application that accepts attacker-controlled URI data and has enough memory to process it may receive a truncated or invalid URI instead of an error. Processing these inputs can also exhaust memory or terminate the PHP process. This affects the Uri\Rfc3986\Uri class introduced in PHP 8.5.0. The legacy parse_url() function and the separate Uri\WhatWg\Url implementation are not affected by this issue.
CVSS v4.0 Base Metrics — Score 6.3 (MEDIUM)
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)Low
Availability (Vulnerable System)Low
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Affected & Patched Versions
- PHP ext-uri >= 8.5.0, < 8.5.13
- PHP 8.5.13
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run PHP ext-uri >= 8.5.0, and which version.
- Update to a patched version listed above, then confirm the new version.
- Until you can update, follow the vendor workaround: Until then, enforce an appropriate byte-length limit on untrusted URI input before passing it to the affected APIs. Keep the limit well below 2 GiB and account for operations that build or resolve a URI from multiple components. Retain an appropriate PHP memory limit, but do not rely on memory exhaustion as a substitute for validating URI lengths.
Timeline
- Nov 19, 2026Published
- Nov 19, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new PHP ext-uri >= 8.5.0, CVEsYou are reading CVE-2026-129438. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsRelated Coverage
External References
Data last checked: Nov 19, 2026 14:43 UTC