CVE Watchtower

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.
Severity Level
MEDIUM(6.3)
Published Date
Nov 19, 2026
Last Modified
Nov 19, 2026
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Reserved
This CVE ID is referenced in a public advisory, but the CVE Program has not published its official CVE Record yet. Full CVSS/CPE data from NVD will appear here once it does.
Root Weakness (CWE)
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes the resulting value will always be larger than the original.
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:N
Attack 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

Affected Versions
  • PHP ext-uri >= 8.5.0, < 8.5.13
Patched Versions
  • PHP 8.5.13

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run PHP ext-uri >= 8.5.0, and which version.
  2. Update to a patched version listed above, then confirm the new version.
  3. 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 alerts

Data last checked: Nov 19, 2026 14:43 UTC