CVE-2025-23016 Affecting libfcgi package, versions <2.4.5-0.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.58% (45th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2510-LIBFCGI-15741882
  • published21 Mar 2026
  • disclosed10 Jan 2025

Introduced: 10 Jan 2025

CVE-2025-23016  (opens in a new tab)

How to fix?

Upgrade Ubuntu:25.10 libfcgi to version 2.4.5-0.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libfcgi package and not the libfcgi package as distributed by Ubuntu. See How to fix? for Ubuntu:25.10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1