{"id":"CVE-2025-40907","summary":"FCGI versions 0.44 through 0.82, for Perl, include a vulnerable version of the FastCGI fcgi2 (aka fcgi) library","details":"FCGI versions 0.44 through 0.82, for Perl, include a vulnerable version of the FastCGI fcgi2 (aka fcgi) library.\n\nThe 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.","modified":"2026-08-12T03:51:29.003087243Z","published":"2025-05-16T13:03:02.774Z","related":["ALSA-2025:8635","ALSA-2025:8636","ALSA-2025:8696"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40907.json","cna_assigner":"CPANSec","cwe_ids":["CWE-122","CWE-1395","CWE-190"]},"references":[{"type":"WEB","url":"https://cpan.org/modules"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40907.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40907"},{"type":"REPORT","url":"https://github.com/FastCGI-Archives/fcgi2/issues/67"},{"type":"REPORT","url":"https://github.com/perl-catalyst/FCGI/issues/14"},{"type":"FIX","url":"https://github.com/FastCGI-Archives/fcgi2/releases/tag/2.4.5"},{"type":"FIX","url":"https://patch-diff.githubusercontent.com/raw/FastCGI-Archives/fcgi2/pull/74.patch"},{"type":"PACKAGE","url":"https://github.com/FastCGI-Archives/fcgi2"},{"type":"ARTICLE","url":"http://www.openwall.com/lists/oss-security/2025/04/23/4"},{"type":"ARTICLE","url":"https://www.synacktiv.com/en/publications/cve-2025-23016-exploiting-the-fastcgi-library"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/fastcgi-archives/fcgi2","events":[{"introduced":"0"},{"fixed":"12ae40e58f6b1d8325408ff6765894f09994f5a9"}],"database_specific":{"source":"REFERENCES"}},{"type":"GIT","repo":"https://github.com/perl-catalyst/fcgi","events":[{"introduced":"0"},{"last_affected":"5bd9f1f966be0633c27e01f5b0508134d2452f0b"}],"database_specific":{"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:fastcgi:fcgi:*:*:*:*:*:perl:*:*","extracted_events":[{"introduced":"0.44"},{"last_affected":"0.82"}]}}],"versions":["2.4.4","2.4.2","2.4.1.1","2.4.1","2.4.0","2.2.3","2.2.2","2.1.1","0.82","0.81","0.80","0.78","0.77","0.76","0.75","0.74","0.73","0.72","0.71_03","0.71_02","0.71_01","0.71","0.70","0.68_02","0.68_01","0.68","0.67_01-RC1","0.67_01"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40907.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}