Uncontrolled recursion in PHP - CVE-2025-67899

 

Uncontrolled recursion in PHP - CVE-2025-67899

Published: December 23, 2025


Vulnerability identifier: #VU120273
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-67899
CWE-ID: CWE-674
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service attack.

The vulnerability exists due to uncontrolled recursion in uriparser. A remote attacker can pass specially crafted input to the application and perform a denial of service attack. 


Affected software

PHP
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
Fedora
Ubuntu
SUSE Package Hub 15
openSUSE Leap
openEuler
uriparser (Ubuntu package)
uriparser-debuginfo
uriparser-devel
liburiparser1-debuginfo
uriparser-debugsource
liburiparser1
liburiparser1-32bit-debuginfo
liburiparser1-32bit
uriparser
uriparser-help

How to mitigate CVE-2025-67899

Install updates from vendor's website.

PHP - update to 8.5.1
uriparser (Ubuntu package) - addressed in versions 0.7.5-1ubuntu2+esm5, 0.8.4-1ubuntu0.16.04.1~esm5, 0.8.4-1+deb9u2ubuntu0.1+esm2, 0.9.3-2ubuntu0.1~esm4, 0.9.6+dfsg-1ubuntu0.1~esm2, 0.9.7+dfsg-2ubuntu0.1~esm2
uriparser-debuginfo - update to 0.8.5-150000.3.11.1
uriparser-devel - update to 0.8.5-150000.3.11.1
liburiparser1-debuginfo - update to 0.8.5-150000.3.11.1
uriparser-debugsource - update to 0.8.5-150000.3.11.1
liburiparser1 - update to 0.8.5-150000.3.11.1
liburiparser1-32bit-debuginfo - update to 0.8.5-150000.3.11.1
liburiparser1-32bit - update to 0.8.5-150000.3.11.1
uriparser - update to 0.8.5-150000.3.11.1
uriparser-help - update to 1.0.1-1
uriparser-devel - update to 1.0.1-1
uriparser-debugsource - update to 1.0.1-1
uriparser-debuginfo - update to 1.0.1-1
uriparser - update to 1.0.1-1
uriparser - addressed in versions 1.0.2-1.el8, 1.0.2-1.el9

External References

Related Security Bulletins