CVE-2026-129438
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 package | Versions | Reported by |
|---|---|---|
| PHP Group PHP | from 8.5.0 before 8.5.13 | CVE List |
| libphp (Bitnami) | from 8.5.0 before 8.5.13 | Bitnami Vulnerability Database |
| php (Bitnami) | from 8.5.0 before 8.5.13 | Bitnami Vulnerability Database |
| php-min (Bitnami) | from 8.5.0 before 8.5.13 | Bitnami Vulnerability Database |
All scores
| php | 6.3medium CVSS:4.0 | 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 |
| Bitnami Vulnerability Database | medium rating |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-129438 changed 2026-11-19 | CVE Terms of Use |
| NVD | CVE-2026-129438 changed 2026-11-19 | Public domain |
| Bitnami Vulnerability Database | BIT-LIBPHP-2026-129438 changed 2026-11-27 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-PHP-2026-129438 changed 2026-11-27 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-PHP-MIN-2026-129438 changed 2026-11-27 | Apache-2.0 |