Skip to main content
CVE-2025-23016VulnerabilityPublished Updated

Libfcgi: FastCGI fcgi2 (aka fcgi) 2.x through 2.4.4 has an integer overflow (and resultant heap-based buffer overflow)

Affects libfcgiSource GCVE Database

0
Compare

Not known to be exploited · CVSS 9.3 Critical · fixed in 2.4.0-8.3ubuntu0.1~esm1 : patch libfcgi as a priority.

Data as of 12 Nov 2026, 19:25 UTC

CVSS 3.1 base score
9.3Critical
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 2.4.0-8.3ubuntu0.1~esm1, 2.4.0-10ubuntu0.18.04.1~esm1, 2.4.0-10ubuntu0.20.04.1~esm1 +3
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Jan 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 12 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 25.10libfcgipkg:deb/ubuntu/libfcgi?arch=source&distro=questingOther threatsAffected
  • <2.4.5-0.1
Fixed in
  • 2.4.5-0.1
Ubuntu 24.04 LTSlibfcgipkg:deb/ubuntu/libfcgi?arch=source&distro=nobleOther threatsAffected
  • <2.4.2-2.1ubuntu0.24.04.1
  • =2.4.2-2build2
Fixed in
  • 2.4.2-2.1ubuntu0.24.04.1
Ubuntu 22.04 LTSlibfcgipkg:deb/ubuntu/libfcgi?arch=source&distro=jammyOther threatsAffected
  • <2.4.2-2ubuntu0.1
Fixed in
  • 2.4.2-2ubuntu0.1
Ubuntu Pro 20.04 LTSlibfcgipkg:deb/ubuntu/libfcgi?arch=source&distro=esm-apps/focalOther threatsAffected
  • <2.4.0-10ubuntu0.20.04.1~esm1
Fixed in
  • 2.4.0-10ubuntu0.20.04.1~esm1
Ubuntu Pro 18.04 LTSlibfcgipkg:deb/ubuntu/libfcgi?arch=source&distro=esm-apps/bionicOther threatsAffected
  • <2.4.0-10ubuntu0.18.04.1~esm1
Fixed in
  • 2.4.0-10ubuntu0.18.04.1~esm1
Ubuntu Pro 16.04 LTSlibfcgipkg:deb/ubuntu/libfcgi?arch=source&distro=esm-infra-legacy/xenialOther threatsAffected
  • <2.4.0-8.3ubuntu0.1~esm1
Fixed in
  • 2.4.0-8.3ubuntu0.1~esm1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Fixes are available and should be applied promptly. Ubuntu users should update to the patched package versions listed in security notices USN-7486-1 and USN-9051-1. Standard system updates will apply the necessary changes. No additional mitigation steps are required beyond applying these official patches.

Description

Libfcgi versions 2.x through 2.4.4 contain an integer overflow vulnerability in the handling of parameter lengths in FastCGI communication, specifically in the ReadParams function of fcgiapp.c. This flaw can lead to a heap-based buffer overflow when crafted nameLen or valueLen values are sent to the IPC socket. Exploitation could cause application crashes or allow arbitrary code execution. Fixes have been released in multiple Ubuntu package versions.

References

Community reviews

Loading reviews…