CVE-2026-129438
MEDIUM 6.3CVSS 4.0Incorrect RFC 3986 URI serialization for oversized input
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.
- Published
- 19 Nov 2026
- Last modified
- 19 Nov 2026
- Assigned by
- security@php.net
- NVD status
- Awaiting Analysis
- Weakness
- CWE-190CWE-252
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@php.net (Secondary) | CVSS 4.0 | MEDIUM 6.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | php | CVSS 4.0 | MEDIUM 6.3 | 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 |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | PHP Group | PHPcpe:2.3:a:php:php:*:*:*:*:*:*:*:* |
>= 8.5.0, < 8.5.13 | 8.5.13 |
References
- https://github.com/php/php-src/security/advisories/GHSA-mg3p-mxj9-g2mm · vendor-advisory
History
- 25 Nov 2026 20:30 UTC · CVE List: first stored (published 19 Nov 2026)
- 25 Nov 2026 20:11 UTC · NVD: first stored (published 19 Nov 2026)