CVE-2025-40907 Affecting perl-FCGI:0.78/perl-FCGI package, versions <1:0.78-11.module+el8.2.0+23234+edafdda3.1


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.08% (24th 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-RHEL8-PERLFCGI-10342222
  • published11 Jun 2025
  • disclosed16 May 2025

Introduced: 16 May 2025

CVE-2025-40907  (opens in a new tab)
CWE-1395  (opens in a new tab)

How to fix?

Upgrade RHEL:8 perl-FCGI:0.78/perl-FCGI to version 1:0.78-11.module+el8.2.0+23234+edafdda3.1 or higher.
This issue was patched in RHSA-2025:8829.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perl-FCGI:0.78/perl-FCGI package and not the perl-FCGI:0.78/perl-FCGI package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

FCGI versions 0.44 through 0.82, for Perl, include a vulnerable version of the FastCGI fcgi2 (aka fcgi) library.

The included FastCGI library is affected by CVE-2025-23016, causing 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