cvelo
P3 · MediumCVSS 6.3EPSS 0.6%

Incorrect RFC 3986 URI serialization for oversized input

  • CVE-2026-129438
  • EUVD-2026-130190

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.

Text from the CVE.org record.

Recommendation

  • PHP Group PHP

    • If you run 8.5.xupdate to 8.5.13 or laterPatch update: breaking changes are unlikely

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • PHP Group PHP

    Affected versionsFixed in
    from 8.5.0 to before 8.5.138.5.13

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.