Home / ETHER / FCGI / CVE-2025-40907
CVE-2025-40907: is it exploited, and which versions of ETHER FCGI are affected and fixed?
CVE-2025-40907 is a dependency on Vulnerable Third-Party Component vulnerability in ETHER FCGI. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: FCGI from 0.44 through 0.82 (CVE record by CPANSec). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.3, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:20 UTC.
What is CVE-2025-40907?
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.
From the CVE record by CPANSec, last updated September 5, 2025, 13:23 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| ETHER | FCGI | from 0.44 through 0.82 |
As the CVE record by CPANSec states it, last updated September 5, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| fastcgi | fcgi | from 0.44 through 0.82 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 09:22 UTC.
How severe is CVE-2025-40907?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-40907 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, May 16, 2025)
- EPSS
- 0.68% probability of exploitation activity in the next 30 days, percentile 53.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-1395 Dependency on Vulnerable Third-Party Component
- CWE-190 Integer Overflow or Wraparound
- CWE-122 Heap-based Buffer Overflow
Is there a workaround? (from the CVE record)
Updating to version 2.4.5 of the included fcgi2 library and rebuilding the Perl module will protect against the vulnerability. We also recommend limiting potential remote access to the FastCGI socket by declaring it as a UNIX socket.
Where are the vendor advisories and references?
- http://www.openwall.com/lists/oss-security/2025/04/23/4 mailing-list
- https://github.com/FastCGI-Archives/fcgi2/issues/67 issue-tracking
- https://github.com/FastCGI-Archives/fcgi2/releases/tag/2.4.5 patch
- https://www.synacktiv.com/en/publications/cve-2025-23016-exploiting-the-fastcgi-library technical-description
- https://github.com/perl-catalyst/FCGI/issues/14 issue-tracking
- https://patch-diff.githubusercontent.com/raw/FastCGI-Archives/fcgi2/pull/74.patch patch
Who found and reported it?
- Synacktiv (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 16, 2025
- Published
- May 16, 2025, 13:03 UTC
- CVE record updated
- September 5, 2025, 13:23 UTC by CPANSec
- NVD
- Analyzed, last modified June 17, 2026, 09:22 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:20 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2025-40907
Is CVE-2025-40907 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 0.68% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of ETHER FCGI are affected by CVE-2025-40907?
FCGI from 0.44 through 0.82, per the CVE record by CPANSec. The tables above give every range the sources list.
Which version fixes CVE-2025-40907?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2025-40907?
Medium (5.3, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2025-40907?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.