Integer overflow in PHP - CVE-2026-129438
Published: November 19, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause an application to receive an invalid or truncated URI instead of a conversion error, or to disrupt service through memory exhaustion or PHP process termination.
The vulnerability exists due to an integer overflow in the output-size calculation and unchecked conversion errors in PHP's RFC 3986 URI serializer when converting oversized URIs to text. A remote attacker can supply oversized URI data to an application that uses an affected serialization operation, such as toString() or toRawString(), to cause incorrect output or exhaust PHP process memory.
Returning an invalid or truncated URI requires the PHP process to have enough memory to construct and process the URI.
Affected software
Fedora
php
How to mitigate CVE-2026-129438
php - addressed in versions 8.5.13-1.fc44, 8.5.13-1.fc45