# CVE-2025-40907: perl-FCGI: The perl-FCGI package provides a Perl module for writing FastCGI applications

CVE-2025-40907 is fixed in 2 products on 1 platform, first by libfcgi-perl 0.78-2ubuntu0.1~esm1, released May 16, 2025. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2025-40907
- Priority: High
- CVSS: 7.5 (Important)
- EPSS: 0.0068
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 16, 2025

## Description

The perl-FCGI package provides a Perl module for writing FastCGI applications. FastCGI is a more efficient alternative to traditional CGI, as it keeps application processes persistent across multiple requests. This module allows Perl web applications to handle requests faster and with lower resource overhead, making it suitable for high-traffic environments.  Security Fix(es):  * perl-fcgi: FCGI versions 0.44 through 0.82, for Perl, include a vulnerable version of the FastCGI fcgi2 (aka fcgi) library (CVE-2025-40907)  For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libfcgi-perl Debian 12.15 (bookworm) | 0.79+ds-2 | [DEBIAN-CVE-2025-40907](https://patchblox.com/security/data/fix/linux/debian-cve-2025-40907.md) | May 16, 2025 |
| Linux | libfcgi-perl Debian 13.5 (trixie) | 0.79+ds-2 | [DEBIAN-CVE-2025-40907](https://patchblox.com/security/data/fix/linux/debian-cve-2025-40907.md) | May 16, 2025 |
| Linux | libfcgi-perl Debian 14 | 0.79+ds-2 | [DEBIAN-CVE-2025-40907](https://patchblox.com/security/data/fix/linux/debian-cve-2025-40907.md) | May 16, 2025 |
| Linux | libfcgi-perl Ubuntu 18.04.6 LTS (bionic) | 0.78-2ubuntu0.1~esm1 | [libfcgi-perl 0.78-2ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libfcgi-perl-0.78-2ubuntu0.1-esm1.md) | May 16, 2025 |
| Linux | libfcgi-perl Ubuntu 20.04 LTS (focal) | 0.79-1ubuntu0.1 | [libfcgi-perl 0.79-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libfcgi-perl-0.79-1ubuntu0.1.md) | May 16, 2025 |
| Linux | perl-FCGI RHEL 10 | 0.82-13.1.el10_0 | [RHSA-2025:8636](https://patchblox.com/security/data/fix/linux/rhsa-2025-8636.md) | May 16, 2025 |
| Linux | perl-FCGI RHEL 8 | 1:0.78-12.module+el8.10.0+23147+63faba8d | [RHSA-2025:8696](https://patchblox.com/security/data/fix/linux/rhsa-2025-8696.md) | Jun 9, 2025 |
| Linux | perl-FCGI RHEL 9 | 1:0.79-8.1.el9_6 | [RHSA-2025:8635](https://patchblox.com/security/data/fix/linux/rhsa-2025-8635.md) | Jun 9, 2025 |
| Linux | perl-FCGI almalinux 10 | 1:0.82-13.1.el10_0 | [ALSA-2025:8636](https://patchblox.com/security/data/fix/linux/alsa-2025-8636.md) | Jun 9, 2025 |
| Linux | perl-FCGI almalinux 8 | 1:0.78-12.module_el8.10.0+4013+e6a7e623 | [ALSA-2025:8696](https://patchblox.com/security/data/fix/linux/alsa-2025-8696.md) | Jun 9, 2025 |
| Linux | perl-FCGI almalinux 9 | 1:0.79-8.1.el9_6 | [ALSA-2025:8635](https://patchblox.com/security/data/fix/linux/alsa-2025-8635.md) | Jun 9, 2025 |
| Linux | perl-FCGI ol 10 | 1:0.82-13.1.el10_0 | [ELSA-2025-8636](https://patchblox.com/security/data/fix/linux/elsa-2025-8636.md) | Jun 30, 2025 |
| Linux | perl-FCGI ol 8 | 1:0.78-12.module+el8.10.0+90610+f44a9047 | [ELSA-2025-8696](https://patchblox.com/security/data/fix/linux/elsa-2025-8696.md) | Jun 18, 2025 |
| Linux | perl-FCGI ol 9 | 1:0.79-8.1.el9_6 | [ELSA-2025-8635](https://patchblox.com/security/data/fix/linux/elsa-2025-8635.md) | Jun 9, 2025 |
| Linux | perl-FCGI rocky 10 | 1:0.82-13.1.el10_0 | [RLSA-2025:8636](https://patchblox.com/security/data/fix/linux/rlsa-2025-8636.md) | Oct 3, 2025 |
| Linux | perl-FCGI rocky 8 | 1:0.78-12.module+el8.10.0+1990+6591fbc7 | [RLSA-2025:8696](https://patchblox.com/security/data/fix/linux/rlsa-2025-8696.md) | Jul 29, 2025 |
| Linux | perl-FCGI rocky 9 | 1:0.79-8.1.el9_6 | [RLSA-2025:8635](https://patchblox.com/security/data/fix/linux/rlsa-2025-8635.md) | Oct 4, 2025 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
