{"id":"CVE-2025-40907","aliases":["CVE-2025-40907"],"related":[],"kind":"vulnerability","state":"published","title":"FCGI versions 0.44 through 0.82, for Perl, include a vulnerable version of the FastCGI fcgi2 (aka fcgi) library","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Las versiones 0.44 a 0.82 de FCGI para Perl incluyen una versión vulnerable de la librería FastCGI fcgi2 (también conocida como fcgi). Esta librería está afectada por CVE-2025-23016, lo que provoca un desbordamiento de enteros (y el consiguiente desbordamiento del búfer en el montón) mediante valores nameLen o valueLen manipulados en los datos del socket IPC. Esto ocurre en ReadParams de fcgiapp.c.","source":"nvd"}],"published":"2025-05-16T13:03:02.774Z","modified":"2026-06-17T09:22:16.023Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-122","CWE-190","CWE-1395"],"affected":[{"ranges":[{"type":"custom","introduced":"0.44","lastAffected":"0.82","status":"affected"}],"vendor":"ETHER","product":"FCGI","package":"FCGI","repo":"https://github.com/FastCGI-Archives/fcgi2","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"0.44","lastAffected":"0.82"}],"vendor":"fastcgi","product":"fcgi","cpe":"cpe:2.3:a:fastcgi:fcgi:*:*:*:*:*:perl:*:*","source":"nvd"}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2025/04/23/4","tags":["mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/FastCGI-Archives/fcgi2/issues/67","tags":["exploit","issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/FastCGI-Archives/fcgi2/releases/tag/2.4.5","tags":["patch","release-notes"],"sources":["cvelist","nvd"]},{"url":"https://www.synacktiv.com/en/publications/cve-2025-23016-exploiting-the-fastcgi-library","tags":["exploit","technical-description","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/perl-catalyst/FCGI/issues/14","tags":["exploit","issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://patch-diff.githubusercontent.com/raw/FastCGI-Archives/fcgi2/pull/74.patch","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":["Synacktiv"],"assigner":"CPANSec","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-05-16T15:07:46.084Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40907","url":"https://www.cve.org/CVERecord?id=CVE-2025-40907","licence":"CVE Terms of Use","modified":"2025-09-05T13:23:05.630Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40907","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40907","licence":"Public domain","modified":"2026-06-17T09:22:16.023Z"}],"updatedAt":"2026-11-25T22:58:58.128Z","epss":{"score":0.00682,"percentile":0.53734,"date":"2026-12-01T12:00:22.000Z"}}