CVE-2025-23016 Details
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.
A vulnerability in FastCGI versions 2.x through 2.4.4 has been identified, involving an integer overflow that results in a heap-based buffer overflow. This issue arises in the ReadParams function within fcgiapp.c, where crafted nameLen or valueLen values in data sent to the IPC socket are not properly validated. The vulnerability can be exploited, particularly in environments without robust system protections, potentially leading to remote code execution.
Users are advised to upgrade to FastCGI version 2.4.5, which addresses this vulnerability. Additionally, limiting remote access to the FastCGI socket by using UNIX sockets can help mitigate the risk.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jan 10, 2025CISA-ADP
Assessed Sep 19, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://www.synacktiv.com/en/publications/cve-2025-23016-exploiting-the-fastcgi-library | CISA-ADP | Content WallExploitTechnical Analysis |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00009.html | CVE | |
| http://www.openwall.com/lists/oss-security/2025/04/23/4 | CVE | Mailing ListRemedy |
| https://github.com/FastCGI-Archives/fcgi2/issues/67 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/FastCGI-Archives/fcgi2/releases/tag/2.4.5 | [email protected] | Release NotesVendor |
| https://www.synacktiv.com/en/publications/cve-2025-23016-exploiting-the-fastcgi-library | [email protected] | Content WallExploitTechnical Analysis |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-190 | Integer Overflow or Wraparound | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| FastCGI fcgi2 | >= 2.0, <= 2.4.4 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 3, 2025 | CVE Modified | CVE |
| Apr 24, 2025 | CVE Modified | CISA-ADP |
| Apr 24, 2025 | CVE Modified | [email protected] |
| Apr 23, 2025 | CVE Modified | CVE |
| Jan 10, 2025 | New CVE Received | [email protected] |
Volerion