Skip to content

CVE-2025-23016 FastCGI fcgi2 (aka fcgi) 2.x through 2.4.4 has an integer overflow (and resultant heap-based buffer overflow) via crafted nameLen or valueLen values in data to the IPC socket. This occurs in ReadParam...

CriticalCVSS 9.3 EPSS 0.61%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
UbuntuDebian

Description

FastCGI fcgi2 (aka fcgi) 2.x through 2.4.4 has an integer overflow (and resultant heap-based buffer overflow) via crafted nameLen or valueLen values in data to the IPC socket. This occurs in ReadParams in fcgiapp.c.

Upgrade path

8 packages: 8 fixed.

PackageAffectedFixed inStatus
azure linux fcgi(Azure Linux 3.0) < 2.4.5-1 2.4.5-1 Fixed
cbl-mariner fcgi(CBL-Mariner 2.0) < 2.4.5-1 2.4.5-1 Fixed
debian/libfcgi(Debian 12) < 2.4.2-2+deb12u1; = 2.4.2-2 2.4.2-2+deb12u1 Fixed
debian/libfcgi(Debian 13) < 2.4.5-0.1 2.4.5-0.1 Fixed
debian/libfcgi(Debian 14) < 2.4.5-0.1 2.4.5-0.1 Fixed
fastcgi fcgi >= 2.0.0, <= 2.4.4 after 2.4.4 Fixed
ubuntu/libfcgi(Ubuntu 22.04) < 2.4.2-2ubuntu0.1 2.4.2-2ubuntu0.1 Fixed
ubuntu/libfcgi(Ubuntu 24.04) < 2.4.2-2.1ubuntu0.24.04.1 2.4.2-2.1ubuntu0.24.04.1 Fixed

Affected products

ProductAffected versionsFixed in
cbl-mariner fcgi(CBL-Mariner:2.0) < 2.4.5-1 2.4.5-1
azure linux fcgi(Azure Linux:3.0) < 2.4.5-1 2.4.5-1
debian/libfcgi(Debian:12) < 2.4.2-2+deb12u1 2.4.2-2+deb12u1
debian/libfcgi(Debian:12) = 2.4.2-2 No fix listed
debian/libfcgi(Debian:13) < 2.4.5-0.1 2.4.5-0.1
debian/libfcgi(Debian:14) < 2.4.5-0.1 2.4.5-0.1
fastcgi fcgi >= 2.0.0, <= 2.4.4 No fix listed
ubuntu/libfcgi(Ubuntu:22.04) < 2.4.2-2ubuntu0.1 2.4.2-2ubuntu0.1
ubuntu/libfcgi(Ubuntu:24.04) < 2.4.2-2.1ubuntu0.24.04.1 2.4.2-2.1ubuntu0.24.04.1

References