{"id":"CVE-2025-40907","url":"https://www.cyber-defence.io/tools/cve/CVE-2025-40907","generatedAt":"2026-10-28T05:26:15.622Z","title":"FCGI versions 0.44 through 0.82, for Perl, include a vulnerable version of the FastCGI fcgi2 (aka fcgi) library.","description":"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.","published":"2025-05-16T13:15:53.000Z","lastModified":"2026-06-17T09:22:16.000Z","status":"Analyzed","sourceIdentifier":"9b29abf9-4ab0-4765-b253-1875cd9b441e","cvss":{"version":"3.1","score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},"cwe":["CWE-122","CWE-190"],"affected":["fastcgi/fcgi"],"epss":{"score":0.00676,"percentile":0.52026,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.68%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"http://www.openwall.com/lists/oss-security/2025/04/23/4","tags":["Mailing List","Third Party Advisory"],"source":"9b29abf9-4ab0-4765-b253-1875cd9b441e"},{"url":"https://github.com/FastCGI-Archives/fcgi2/issues/67","tags":["Exploit","Issue Tracking"],"source":"9b29abf9-4ab0-4765-b253-1875cd9b441e"},{"url":"https://github.com/FastCGI-Archives/fcgi2/releases/tag/2.4.5","tags":["Release Notes"],"source":"9b29abf9-4ab0-4765-b253-1875cd9b441e"},{"url":"https://github.com/perl-catalyst/FCGI/issues/14","tags":["Exploit","Issue Tracking"],"source":"9b29abf9-4ab0-4765-b253-1875cd9b441e"},{"url":"https://patch-diff.githubusercontent.com/raw/FastCGI-Archives/fcgi2/pull/74.patch","tags":["Patch"],"source":"9b29abf9-4ab0-4765-b253-1875cd9b441e"},{"url":"https://www.synacktiv.com/en/publications/cve-2025-23016-exploiting-the-fastcgi-library","tags":["Exploit","Third Party Advisory"],"source":"9b29abf9-4ab0-4765-b253-1875cd9b441e"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-40907","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}