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.
{
"cwe_ids": [
"CWE-122",
"CWE-1395",
"CWE-190"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40907.json",
"cna_assigner": "CPANSec"
}{
"source": "REFERENCES"
}{
"cpe": "cpe:2.3:a:fastcgi:fcgi:*:*:*:*:*:perl:*:*",
"extracted_events": [
{
"introduced": "0.44"
},
{
"last_affected": "0.82"
}
],
"source": [
"AFFECTED_FIELD",
"CPE_RANGE"
]
}