
CVE catalog
CVE-2025-40907
libfcgi-perl: CVE-2025-40907
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.68% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libfcgi-perl | sid | 0.82+ds-3 | fixed |
| Debian | libfcgi-perl | forky | 0.82+ds-3 | fixed |
| Debian | libfcgi-perl | trixie | 0.82+ds-3 | fixed |
| Debian | libfcgi-perl | bookworm | 0.82+ds-2 | fixed |
| Ubuntu | libfcgi-perl | pro | 0.78-2build1 | vulnerable |
| Ubuntu | libfcgi-perl | pro | 0.78-2ubuntu0.1~esm1 | fixed |
| Ubuntu | libfcgi-perl | 20.04 | 0.78-2build2 | vulnerable |
| Ubuntu | libfcgi-perl | 20.04 | 0.78-2build3 | vulnerable |
| Ubuntu | libfcgi-perl | 20.04 | 0.79-1 | vulnerable |
| Ubuntu | libfcgi-perl | 20.04 | 0.79-1ubuntu0.1 | fixed |
| Ubuntu | libfcgi-perl | pro | 0.78-2build1 | vulnerable |
| Ubuntu | libfcgi-perl | pro | 0.78-2ubuntu0.1~esm1 | fixed |
| Ubuntu | libfcgi-perl | 20.04 | 0.78-2build2 | vulnerable |
| Ubuntu | libfcgi-perl | 20.04 | 0.78-2build3 | vulnerable |
| Ubuntu | libfcgi-perl | 20.04 | 0.79-1 | vulnerable |
| Ubuntu | libfcgi-perl | 20.04 | 0.79-1ubuntu0.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libfcgi-perl | source | sid | 0.79+ds-2 | not yet assigned | Not reported | Not reported |
| Debian | libfcgi-perl | source | forky | 0.79+ds-2 | not yet assigned | Not reported | Not reported |
| Debian | libfcgi-perl | source | trixie | 0.79+ds-2 | not yet assigned | Not reported | Not reported |
| Debian | libfcgi-perl | source | bookworm | 0.79+ds-2 | not yet assigned | Not reported | Not reported |
| Ubuntu | libfcgi-perl | deb | pro | 0.78-2ubuntu0.1~esm1 | Not reported | USN-7527-1 | Not reported |
| Ubuntu | libfcgi-perl | deb | 20.04 | 0.79-1ubuntu0.1 | Not reported | USN-7527-1 | Not reported |
| Ubuntu | libfcgi-perl | deb | pro | 0.78-2ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2025-40907 | Not reported |
| Ubuntu | libfcgi-perl | deb | 20.04 | 0.79-1ubuntu0.1 | Not reported | UBUNTU-CVE-2025-40907 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libfcgi-perl]Fixed
Details (2)
0.82+ds-2· amd64 · bookwormFixed · Fixed:
0.79+ds-2dsa · libfcgi-perl · debian · bookworm; dsa · libfcgi-perl · debian · 12
0.82+ds-2· arm64 · bookwormFixed · Fixed:
0.79+ds-2dsa · libfcgi-perl · debian · bookworm; dsa · libfcgi-perl · debian · 12
[Debian 13 (Trixie)]
- [libfcgi-perl]Fixed
Source package: [libfcgi-perl]
Details (2)
0.82+ds-3+b2· amd64 · trixieFixed · Fixed:
0.79+ds-2dsa · libfcgi-perl · debian · 13
0.82+ds-3+b2· arm64 · trixieFixed · Fixed:
0.79+ds-2dsa · libfcgi-perl · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/essa-2025_3015.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-40907]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-40907]
- [https://osv.dev/vulnerability/USN-7527-1]
- [https://security-tracker.debian.org/tracker/CVE-2025-40907]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-40907.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-1273.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]