VDB

CVE-2025-40907

CVE-2025-40907 PUBLISHED CVSS 5.3 MEDIUM

Reported by cpansec · Published May 16, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
FCGIcpan.org0.82
perl-FCGIAmazon Linux1:0.74-8.amzn2.0.3
fcgifastcgi0.82

Risk scores

CVSS 3.1
5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected products

VendorProductVersions
ETHERFCGI0.44
amazon:2perl-FCGI0
ETHERFCGI0.44

Timeline

  • May 16, 2025 CVE Published
  • May 16, 2025 PoC Published (2 in total, the first dated here)
  • May 17, 2025 EPSS Score (30 in total, the first dated here)
  • May 23, 2025 Coalition ESS Score (22 in total, the first dated here)
  • Nov 26, 2025 CVE Updated
  • Apr 29, 2026 Security Advisory (14 in total, the first dated here)
  • Nov 2, 2026 Distribution Patch (11 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-40907
vulnetix vdb fixes CVE-2025-40907

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40907/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • mailing-list
  • issue-tracking
  • patch
  • technical-description
  • issue-tracking
  • patch
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›