CVE-2025-23016
FastCGI fcgi2 Buffer Overflow
Description
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.
INFO
Published Date :
Jan. 10, 2025, 12:15 p.m.
Last Modified :
April 24, 2025, 3:15 p.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
6.0
Exploitability Score :
2.5
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-23016
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-23016
vulnerability anywhere in the article.

-
Cyber Security News
FastCGI Library Vulnerability Exposes Embedded Devices to Code Execution Attacks
A critical vulnerability in the FastCGI library could allow attackers to execute arbitrary code on embedded devices. The flaw, tracked as CVE-2025-23016 with a CVSS score of 9.3, affects all FastCGI f ... Read more

-
Daily CyberSecurity
CVE-2025-23016: Critical FastCGI Heap Overflow Threatens Embedded Devices, PoC Releases
Security researcher Baptiste Mayaud from Synacktiv has detailed a critical vulnerability in the FastCGI library, tracked as CVE-2025-23016 (CVSS 9.4). The flaw, which stems from improper handling of p ... Read more
The following table lists the changes that have been made to the
CVE-2025-23016
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Apr. 24, 2025
Action Type Old Value New Value Added Reference https://www.synacktiv.com/en/publications/cve-2025-23016-exploiting-the-fastcgi-library -
CVE Modified by [email protected]
Apr. 24, 2025
Action Type Old Value New Value Added Reference https://github.com/FastCGI-Archives/fcgi2/releases/tag/2.4.5 Added Reference https://www.synacktiv.com/en/publications/cve-2025-23016-exploiting-the-fastcgi-library -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Apr. 23, 2025
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2025/04/23/4 -
New CVE Received by [email protected]
Jan. 10, 2025
Action Type Old Value New Value Added Description 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. Added CVSS V3.1 AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H Added CWE CWE-190 Added Reference https://github.com/FastCGI-Archives/fcgi2/issues/67
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-23016
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-23016
weaknesses.