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.
Conclusion & alert: CVE-2025-40907 is rated High Exploit Risk (62.2/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.76%). Core evidence: 3 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-03-12 | 0.27% | 0.76% | +0.49% |
| 2 | 2026-03-02 | 0.16% | 0.27% | +0.10% |
| 3 | 2025-12-10 | — | 0.16% | — |
Full EPSS history (6 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.3 | 3.1 | MEDIUM |
|
3.9 | 1.4 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2025-40907: 1 source package rows (perl-fcgi); 7 state rows across 6 repos (3.19-main, 3.20-main, 3.21-main, 3.22-main, 3.23-main, edge-main); fixed 0, open 7. | https://security.alpinelinux.org/vuln/CVE-2025-40907 |
debian
|
not yet assigned | CVE-2025-40907 not yet assigned priority: Debian including 1 source packages (libfcgi-perl), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2025-40907 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2025-40907 |
suse
|
medium | CVE-2025-40907 severity moderate: SUSE including 3 source package names (perl-FCGI-0.74-8.el7_9.1, perl-FCGI-0.78-12.module+el8.10.0+23147+df114ff4, perl-FCGI-0.79-8.1.el9_6), 3 product×package rows across 3 product lines (SUSE Liberty Linux 7 LTSS, SUSE Liberty Linux 8, SUSE Liberty Linux 9): Fixed 3. | https://www.suse.com/security/cve/CVE-2025-40907/ |
ubuntu
|
medium | CVE-2025-40907 medium priority: Ubuntu including 1 source packages (libfcgi-perl), 8 status rows across 8 suites (bionic, focal, jammy, noble, oracular, plucky, upstream, xenial): not-affected 4, released 4. | https://ubuntu.com/security/CVE-2025-40907 |
| URL | Tags |
|---|---|
| http://www.openwall.com/lists/oss-security/2025/04/23/4 | Mailing List Third Party Advisory |
| https://github.com/FastCGI-Archives/fcgi2/issues/67 | Exploit Issue Tracking |
| https://github.com/FastCGI-Archives/fcgi2/releases/tag/2.4.5 | Release Notes |
| https://github.com/perl-catalyst/FCGI/issues/14 | Exploit Issue Tracking |
| https://patch-diff.githubusercontent.com/raw/FastCGI-Archives/fcgi2/pull/74.patch | Patch |
| https://www.synacktiv.com/en/publications/cve-2025-23016-exploiting-the-fastcgi-library | Exploit Third Party Advisory |