Integer overflow in PHP - CVE-2026-129438

 

Integer overflow in PHP - CVE-2026-129438

Published: November 19, 2026


Vulnerability identifier: #VU167927
CSH Severity: Medium
CVSS v4: 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-ID: CVE-2026-129438
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

PHP
Fedora
php

How to mitigate CVE-2026-129438

Install security update from vendor's website.

PHP - update to 8.5.13
php - addressed in versions 8.5.13-1.fc44, 8.5.13-1.fc45

External References

Related Security Bulletins