{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-40907","published":"2025-05-16T13:15:52.683000Z","last_modified":"2026-06-17T09:22:16.023000Z","status":"Analyzed","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","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-122","CWE-190"],"cpes":[{"criteria":"cpe:2.3:a:fastcgi:fcgi:*:*:*:*:*:perl:*:*","part":"a","vendor":"fastcgi","product":"fcgi","version_start_including":"0.44","version_end_including":"0.82"}],"cpes_truncated":false,"vendors":["fastcgi"],"products":["fastcgi/fcgi"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":47,"links":{"html_es":"/es/cve/CVE-2025-40907/","html_en":"/en/cve/CVE-2025-40907/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-40907","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-40907"},"untrusted":{"vendor_name":"Fastcgi","product_name":"Fcgi","desc_en":"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.","affected":[{"untrusted_vendor":"ETHER","untrusted_product":"FCGI","versions":[]}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2025/04/23/4","tags":["Mailing List","Third Party Advisory"]},{"url":"https://github.com/FastCGI-Archives/fcgi2/issues/67","tags":["Exploit","Issue Tracking"]},{"url":"https://github.com/FastCGI-Archives/fcgi2/releases/tag/2.4.5","tags":["Release Notes"]},{"url":"https://github.com/perl-catalyst/FCGI/issues/14","tags":["Exploit","Issue Tracking"]},{"url":"https://patch-diff.githubusercontent.com/raw/FastCGI-Archives/fcgi2/pull/74.patch","tags":["Patch"]},{"url":"https://www.synacktiv.com/en/publications/cve-2025-23016-exploiting-the-fastcgi-library","tags":["Exploit","Third Party Advisory"]}]}}