Medium severity5.3NVD Advisory· Published May 16, 2025· Updated Jun 17, 2026
CVE-2025-40907
CVE-2025-40907
Description
FCGI versions 0.44 through 0.82, for Perl, include a vulnerable version of the FastCGI fcgi2 (aka fcgi) library.
The 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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
3- Range: 0.44 - 0.82
Patches
Vulnerability mechanics
References
6- patch-diff.githubusercontent.com/raw/FastCGI-Archives/fcgi2/pull/74.patchnvdPatch
- github.com/FastCGI-Archives/fcgi2/issues/67nvdExploitIssue Tracking
- github.com/perl-catalyst/FCGI/issues/14nvdExploitIssue Tracking
- www.synacktiv.com/en/publications/cve-2025-23016-exploiting-the-fastcgi-librarynvdExploitThird Party Advisory
- www.openwall.com/lists/oss-security/2025/04/23/4nvdMailing ListThird Party Advisory
- github.com/FastCGI-Archives/fcgi2/releases/tag/2.4.5nvdRelease Notes
News mentions
0No linked articles in our index yet.