CVE-2025-40907 FCGI versions 0.44 through 0.82, for Perl, include a vulnerable version of the FastCGI fcgi2 (aka fcgi) library
MediumCVSS 5.3
EPSS 0.69%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libfcgi-perl(Debian:12) | < 0.79+ds-2 | 0.79+ds-2 |
| debian/libfcgi-perl(Debian:13) | < 0.79+ds-2 | 0.79+ds-2 |
| debian/libfcgi-perl(Debian:14) | < 0.79+ds-2 | 0.79+ds-2 |
| ether FCGI | >= 0.44, <= 0.82 | No fix listed |
| fastcgi fcgi | >= 0.44, <= 0.82 | No fix listed |
References
- Debian Security Tracker CVE-2025-40907 vendor-advisory
- www.openwall.com mailing-list third-party-advisory
- github.com exploit issue-tracking
- github.com patch release-notes
- www.synacktiv.com exploit technical-description third-party-advisory
- github.com exploit issue-tracking
- patch-diff.githubusercontent.com patch