Integer overflow in fcgi2 - CVE-2025-23016

 

Integer overflow in fcgi2 - CVE-2025-23016

Published: April 24, 2025


Vulnerability identifier: #VU107896
CSH Severity: Critical
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Red
CVE-ID: CVE-2025-23016
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: FastCGI-Archives
Affected software:
fcgi2

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to an integer overflow within the ReadParams() function in fcgiapp.c. A remote attacker can pass specially crafted "nameLen" or "valueLen" values in data to the IPC socket, trigger an integer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2025-23016

Install update from vendor's website.

Sources