Buffer overflow in Ether Fcgi
CVE-2025-40907
FCGI versions 0.44 through 0.82, for Perl, include a vulnerable version of the FastCGI fcgi2 (aka fcgi) library.
The included FastCGI library is affected by CVE-2025-23016, causing 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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.007, 52.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Ether Fcgi — versions 0.44
- Fastcgi Fcgi
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cve-scores, fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.openwall.com/lists/oss-security/2025/04/23/4 (mailing-list, Mailing List, Third Party Advisory)
- github.com/FastCGI-Archives/fcgi2/issues/67 (issue-tracking, Exploit, Issue Tracking)
- github.com/FastCGI-Archives/fcgi2/releases/tag/2.4.5 (Release Notes, patch)
- www.synacktiv.com/en/publications/cve-2025-23016-exploiting-the-fastcgi-library (Exploit, technical-description, Third Party Advisory)
- github.com/perl-catalyst/FCGI/issues/14 (issue-tracking, Exploit, Issue Tracking)
- patch-diff.githubusercontent.com/raw/FastCGI-Archives/fcgi2/pull/74.patch (Patch, patch)