CVE-2026-129438
JSON

6.3medium

Incorrect RFC 3986 URI serialization for oversized input

Severity
6.3medium CVSS:4.0 by php
Exploit likelihood
0.56% (higher than 48% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
php
Also known as
BIT-LIBPHP-2026-129438BIT-PHP-2026-129438BIT-PHP-MIN-2026-129438GHSA-mg3p-mxj9-g2mm

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.

Affected

Product or packageVersionsReported by
PHP Group PHPfrom 8.5.0 before 8.5.13CVE List
libphp (Bitnami)from 8.5.0 before 8.5.13Bitnami Vulnerability Database
php (Bitnami)from 8.5.0 before 8.5.13Bitnami Vulnerability Database
php-min (Bitnami)from 8.5.0 before 8.5.13Bitnami Vulnerability Database

All scores

php6.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-190CWE-252

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-129438 changed 2026-11-19CVE Terms of Use
NVDCVE-2026-129438 changed 2026-11-19Public domain
Bitnami Vulnerability DatabaseBIT-LIBPHP-2026-129438 changed 2026-11-27Apache-2.0
Bitnami Vulnerability DatabaseBIT-PHP-2026-129438 changed 2026-11-27Apache-2.0
Bitnami Vulnerability DatabaseBIT-PHP-MIN-2026-129438 changed 2026-11-27Apache-2.0