{"id":"CVE-2025-40907","published":"2025-05-16T13:03:02Z","modified":"2025-09-05T13:23:05Z","title":"FCGI versions 0.44 through 0.82, for Perl, include a vulnerable version of the FastCGI fcgi2 (aka fcgi) library","vendor":"ETHER","product":"FCGI","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00687,"percentile":0.53621,"provenance":"source"},"cwes":[{"id":"CWE-1395","name":"Dependency on Vulnerable Third-Party Component"},{"id":"CWE-190","name":"Integer Overflow or Wraparound"},{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2025/04/23/4","tags":["mailing-list"]},{"url":"https://github.com/FastCGI-Archives/fcgi2/issues/67","tags":["issue-tracking"]},{"url":"https://github.com/FastCGI-Archives/fcgi2/releases/tag/2.4.5","tags":["patch"]},{"url":"https://www.synacktiv.com/en/publications/cve-2025-23016-exploiting-the-fastcgi-library","tags":["technical-description"]},{"url":"https://github.com/perl-catalyst/FCGI/issues/14","tags":["issue-tracking"]},{"url":"https://patch-diff.githubusercontent.com/raw/FastCGI-Archives/fcgi2/pull/74.patch","tags":["patch"]}],"priority":{"score":14.4,"factors":[{"name":"EPSS percentile","points":10.72},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"ether","affectedVersions":[{"vendor":"ETHER","product":"FCGI","versions":[">= 0.44, <= 0.82"]}],"workarounds":{"items":["Updating to version 2.4.5 of the included fcgi2 library and rebuilding the Perl module will protect against the vulnerability. We also recommend limiting potential remote access to the FastCGI socket by declaring it as a UNIX socket."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-05-16T15:07:46.084885Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-15438","exploited":false,"provenance":"source"}}