CVE-2025-23016
FastCGI fcgi2 (aka fcgi) 2.x through 2.4.4 has an integer overflow (and resultant heap-based...
FastCGI fcgi2 (aka fcgi) 2.x through 2.4.4 has 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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
9.3
FastCGI fcgi2 (aka fcgi) 2.x through 2.4.4 has 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.
- Record
CVE-2025-23016- CVSS 3.1
- 9.3 Critical
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - Weakness
- CWE-190
- Updated
- 2026-11-02
EUVDEUVD-2025-3075
9.3
FastCGI fcgi2 (aka fcgi) 2.x through 2.4.4 has 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.
- Record
EUVD-2025-3075- CVSS 3.1
- 9.3 Critical
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-9825-56cx-cfg6
9.3
FastCGI fcgi2 (aka fcgi) 2.x through 2.4.4 has an integer overflow (and resultant heap-based...
FastCGI fcgi2 (aka fcgi) 2.x through 2.4.4 has 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.
- Record
GHSA-9825-56cx-cfg6- CVSS 3.1
- 9.3 Critical
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - Weakness
- CWE-190
- Updated
- 2026-11-02
NVD
9.3
FastCGI fcgi2 (aka fcgi) 2.x through 2.4.4 has 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.
- Record
CVE-2025-23016- CVSS 3.1
- 9.3 Critical
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - Weakness
- CWE-190
- Updated
- 2026-11-02
OSVBELL-CVE-2025-23016
9.3
- Record
BELL-CVE-2025-23016- CVSS 3.1
- 9.3 Critical
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
9.3
FastCGI fcgi2 (aka fcgi) 2.x through 2.4.4 has 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.
- Record
CVE-2025-23016- CVSS 3.1
- 9.3 Critical
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - Weakness
- CWE-190
- Updated
- 2026-11-02
Show 11 moreShow less
OSVDEBIAN-CVE-2025-23016
9.3
FastCGI fcgi2 (aka fcgi) 2.x through 2.4.4 has 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.
- Record
DEBIAN-CVE-2025-23016- CVSS 3.1
- 9.3 Critical
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
OSVOESA-2025-1475
9.3
fcgi security update
FastCGI is a language independent, scalable, open extension to CGI that provides high performance without the limitations of server specific APIs.
Security Fix(es):
FastCGI fcgi2 (aka fcgi) 2.x through 2.4.4 has 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.(CVE-2025-23016)
- Record
OESA-2025-1475- CVSS 3.1
- 9.3 Critical
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
OSVOESA-2025-2779
9.3
fcgi security update
FastCGI is a language independent, scalable, open extension to CGI that provides high performance without the limitations of server specific APIs.
Security Fix(es):
FastCGI fcgi2 (aka fcgi) 2.x through 2.4.4 has 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.(CVE-2025-23016)
- Record
OESA-2025-2779- CVSS 3.1
- 9.3 Critical
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2025-23016
9.3
FastCGI fcgi2 (aka fcgi) 2.x through 2.4.4 has 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.
- Record
UBUNTU-CVE-2025-23016- CVSS 3.1
- 9.3 Critical
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
OSVAZL-55397 No score
CVE-2025-23016 affecting package fcgi for versions less than 2.4.5-1
FastCGI fcgi2 (aka fcgi) 2.x through 2.4.4 has 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.
- Record
AZL-55397- Updated
- 2026-11-02
OSVAZL-55443 No score
CVE-2025-23016 affecting package fcgi for versions less than 2.4.5-1
FastCGI fcgi2 (aka fcgi) 2.x through 2.4.4 has 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.
- Record
AZL-55443- Updated
- 2026-11-02
OSVMGASA-2025-0144 No score
Updated fcgi packages fix security vulnerability
FastCGI fcgi2 (aka fcgi) 2.x through 2.4.4 has 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. (CVE-2025-23016)
- Record
MGASA-2025-0144- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15348-1 No score
FastCGI-2.4.6-1.1 on GA media
These are all security issues fixed in the FastCGI-2.4.6-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15348-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:02369-1 No score
Security update for FastCGI
This update for FastCGI fixes the following issues:
- CVE-2025-23016: Fixed integer overflow in FastCGI fcgi2 library (bsc#1243325)
- Record
SUSE-SU-2025:02369-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:02372-1 No score
Security update for FastCGI
This update for FastCGI fixes the following issues:
- CVE-2025-23016: Fixed integer overflow in FastCGI fcgi2 library (bsc#1243325)
- Record
SUSE-SU-2025:02372-1- Updated
- 2026-11-02
OSVUSN-7486-1 No score
libfcgi vulnerability
It was discovered that FastCGI incorrectly handled certain inputs. An attacker could possibly use this issue to cause a crash or execute arbitrary code.
- Record
USN-7486-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
fcgiAzure Linux:2 |
before 2.4.5-1 | 2.4.5-1 |
fcgiAzure Linux:3 |
before 2.4.5-1 | 2.4.5-1 |
fcgiAlpaquita:23 |
2.4.2-r1 and later | None known |
fcgiAlpaquita:stream |
2.4.2-r1 up to 2.4.6-r0 | 2.4.6-r0 |
libfcgiDebian:12 |
before 2.4.2-2+deb12u1, plus listed versions 2.4.2-2 |
2.4.2-2+deb12u1 |
libfcgiDebian:13 |
before 2.4.5-0.1 | 2.4.5-0.1 |
libfcgiDebian:14 |
before 2.4.5-0.1 | 2.4.5-0.1 |
libfcgiDebian:11 |
before 2.4.2-2+deb11u1, plus listed versions 2.4.2-2 |
2.4.2-2+deb11u1 |
fcgiMageia:9 |
before 2.4.0-22.1.mga9 | 2.4.0-22.1.mga9 |
fcgiopenEuler:20.03-LTS-SP4 |
before 2.4.2-2.oe2003sp4 | 2.4.2-2.oe2003sp4 |
Show 29 moreShow less
| Package | Affected | Fixed |
|---|---|---|
fcgiopenEuler:22.03-LTS-SP3 |
before 2.4.2-2.oe2203sp3 | 2.4.2-2.oe2203sp3 |
fcgiopenEuler:22.03-LTS-SP4 |
before 2.4.2-2.oe2203sp4 | 2.4.2-2.oe2203sp4 |
fcgiopenEuler:24.03-LTS |
before 2.4.2-2.oe2403sp1 | 2.4.2-2.oe2403sp1 |
fcgiopenEuler:24.03-LTS-SP1 |
before 2.4.2-2.oe2403sp1 | 2.4.2-2.oe2403sp1 |
fcgiopenEuler:24.03-LTS-SP2 |
before 2.4.2-3.oe2403sp2 | 2.4.2-3.oe2403sp2 |
FastCGISUSE:Linux Enterprise Server 12 SP5-LTSS |
before 2.4.0-169.3.1 | 2.4.0-169.3.1 |
FastCGISUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 |
before 2.4.0-169.3.1 | 2.4.0-169.3.1 |
FastCGISUSE:Linux Enterprise Module for Development Tools 15 SP6 |
before 2.4.0-150000.4.3.1 | 2.4.0-150000.4.3.1 |
FastCGISUSE:Linux Enterprise Module for Development Tools 15 SP7 |
before 2.4.0-150000.4.3.1 | 2.4.0-150000.4.3.1 |
FastCGISUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS |
before 2.4.0-150000.4.3.1 | 2.4.0-150000.4.3.1 |
FastCGISUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS |
before 2.4.0-150000.4.3.1 | 2.4.0-150000.4.3.1 |
FastCGISUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS |
before 2.4.0-150000.4.3.1 | 2.4.0-150000.4.3.1 |
FastCGISUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS |
before 2.4.0-150000.4.3.1 | 2.4.0-150000.4.3.1 |
FastCGISUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS |
before 2.4.0-150000.4.3.1 | 2.4.0-150000.4.3.1 |
FastCGISUSE:Linux Enterprise Server 15 SP3-LTSS |
before 2.4.0-150000.4.3.1 | 2.4.0-150000.4.3.1 |
FastCGISUSE:Linux Enterprise Server 15 SP4-LTSS |
before 2.4.0-150000.4.3.1 | 2.4.0-150000.4.3.1 |
FastCGISUSE:Linux Enterprise Server 15 SP5-LTSS |
before 2.4.0-150000.4.3.1 | 2.4.0-150000.4.3.1 |
FastCGISUSE:Linux Enterprise Server for SAP Applications 15 SP3 |
before 2.4.0-150000.4.3.1 | 2.4.0-150000.4.3.1 |
FastCGISUSE:Linux Enterprise Server for SAP Applications 15 SP4 |
before 2.4.0-150000.4.3.1 | 2.4.0-150000.4.3.1 |
FastCGISUSE:Linux Enterprise Server for SAP Applications 15 SP5 |
before 2.4.0-150000.4.3.1 | 2.4.0-150000.4.3.1 |
FastCGISUSE:Enterprise Storage 7.1 |
before 2.4.0-150000.4.3.1 | 2.4.0-150000.4.3.1 |
FastCGIopenSUSE:Leap 15.6 |
before 2.4.0-150000.4.3.1 | 2.4.0-150000.4.3.1 |
libfcgiUbuntu:16.04:LTS |
All versions, plus listed versions 2.4.0-8.3 |
None known |
libfcgiUbuntu:18.04:LTS |
All versions, plus listed versions 2.4.0-8.42.4.0-10 |
None known |
libfcgiUbuntu:20.04:LTS |
All versions, plus listed versions 2.4.0-102.4.0-10build1 |
None known |
libfcgiUbuntu:22.04:LTS |
before 2.4.2-2ubuntu0.1, plus listed versions 2.4.2-2build12.4.2-2build2 |
2.4.2-2ubuntu0.1 |
libfcgiUbuntu:24.04:LTS |
before 2.4.2-2.1ubuntu0.24.04.1, plus listed versions 2.4.2-2build22.4.2-2.12.4.2-2.1build1 |
2.4.2-2.1ubuntu0.24.04.1 |
libfcgiUbuntu:25.10 |
before 2.4.5-0.1, plus listed versions 2.4.2-2.1build1 |
2.4.5-0.1 |
FastCGIopenSUSE:Tumbleweed |
before 2.4.6-1.1 | 2.4.6-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-23016 is a critical vulnerability (CVSS 9.3) in Fastcgi Fcgi, published January 10, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.61%, the 49th percentile. Fixed in fcgi 2.4.5-1.
References
github.com/FastCGI-Archives/fcgi2/issues/67
github.com/FastCGI-Archives/fcgi2/releases/tag/2.4.5
synacktiv.com/en/publications/cve-2025-23016-exploiting-the-fastcgi-library
openwall.com/lists/oss-security/2025/04/23/4
lists.debian.org/debian-lts-announce/2025/10/msg00009.html
nvd.nist.gov/vuln/detail/CVE-2025-23016
Show 15 moreShow less
github.com/advisories/GHSA-9825-56cx-cfg6
docs.bell-sw.com/security/cves/CVE-2025-23016
github.com/CVEProject/cvelistV5/tree/main/cves/2025/23xxx/CVE-2025-23016.json
security-tracker.debian.org/tracker/CVE-2025-23016
advisories.mageia.org/MGASA-2025-0144.html
bugs.mageia.org/show_bug.cgi?id=34222
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-1475
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-2779
suse.com/support/update/announcement/2025/suse-su-202502369-1
bugzilla.suse.com/1243325
suse.com/security/cve/CVE-2025-23016
suse.com/support/update/announcement/2025/suse-su-202502372-1
ubuntu.com/security/CVE-2025-23016
cve.org/CVERecord?id=CVE-2025-23016
ubuntu.com/security/notices/USN-7486-1