CVE-2025-40907
FCGI versions 0.44 through 0.82, for Perl, include a vulnerable version of the FastCGI fcgi2 (aka fcgi) library
02 Description
FCGI versions 0.44 through 0.82, for Perl, include a vulnerable version of the FastCGI fcgi2 (aka fcgi) library
03 Exploitation and scoring
- Exploitation
- Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
- SSVC decision
- ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 0.67% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 51.9% of scored records. A rank, not a probability.
- NVD base score
- 5.3 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- NVD analysis status
- Analyzed. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2025-05-16 13:03Z1 YR AGO
- Last updated
- 2025-09-05 13:23Z1 YR AGO
- Reserved
- 2025-04-16
- Assigning CNA
- CPANSec
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 5.3)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Weaknesses
- Data version
- 5.1
- Document digest
- f78a15bc279d43103789c37b9d5985fde288bef88dad78b5bb5bb1dbd496b032
05 Affected products
06 References
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2025/04/23/4
- github.comhttps://github.com/FastCGI-Archives/fcgi2/issues/67
- github.comhttps://github.com/FastCGI-Archives/fcgi2/releases/tag/2.4.5
- www.synacktiv.comhttps://www.synacktiv.com/en/publications/cve-2025-23016-exploiting-the-fastcgi-library
- github.comhttps://github.com/perl-catalyst/FCGI/issues/14
- patch-diff.githubusercontent.comhttps://patch-diff.githubusercontent.com/raw/FastCGI-Archives/fcgi2/pull/74.patch
07 Fixed in
AlmaLinux 8
- perl-FCGI Fixed
A version is affected if any line below covers it.
- Affected before 1:0.78-12.module_el8.10.0+4011+62915be2
- Affected before 1:0.78-12.module_el8.10.0+4012+cd64a238
- Affected before 1:0.78-12.module_el8.10.0+4013+e6a7e623
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 9
- perl-FCGI Fixed in 1:0.79-8.1.el9_6
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 10
- perl-FCGI Fixed in 1:0.82-13.1.el10_0
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- perl-FCGI Fixed
A version is affected if any line below covers it.
- Affected before 1:0.78-12.module_el8.10.0+4011+62915be2
- Affected before 1:0.78-12.module_el8.10.0+4012+cd64a238
- Affected before 1:0.78-12.module_el8.10.0+4013+e6a7e623
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 9
- perl-FCGI Fixed in 1:0.79-8.1.el9_6
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 10
- perl-FCGI Fixed in 1:0.82-13.1.el10_0
Derived from AlmaLinux 10. Partial coverage: only packages taken from AlmaLinux 10 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- libfcgi-perl Fixed in 0.79+ds-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- libfcgi-perl Fixed in 0.79+ds-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- libfcgi-perl Fixed in 0.79+ds-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- libfcgi-perl Fixed in 0.79-1ubuntu0.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- libfcgi-perl Fixed in 0.77-1ubuntu0.1~esm1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- libfcgi-perl Fixed in 0.78-2ubuntu0.1~esm1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.