Skip to content
Threat Brief

← All advisories

CVE-2026-129438

Medium 6.3No known exploitationFix available

Incorrect RFC 3986 URI serialization for oversized input

Record last updated

CVSS score

6.3

Medium on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.6%

Higher than 48% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

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.

Weakness: CWE-190, CWE-252

Patching and mitigation

Patch status
Fix available (source: CVE record (php))
Fix documented (source date)
Mitigation
None documented
Vendor guidance
github.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
PHP GroupPHPfrom 8.5.0 before 8.5.138.5.13CVE Program

Timeline

  1. Disclosure

    CVE record published by php

    Source: CVE Program (opens in a new tab)

  2. Patch

    Fix documented by CVE record (php)

    Source: CVE record (php) (opens in a new tab)

Vendor guidance and references