Integer Overflow or Wraparound Affecting perl-FCGI package, versions <1:0.78-12.module+el8.10.0+90610+44f1ea29


Severity

Recommended
high

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.68% (54th 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-ORACLE8-PERLFCGI-10350599
  • published13 Jun 2025
  • disclosed16 May 2025

Introduced: 16 May 2025

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

How to fix?

Upgrade Oracle:8 perl-FCGI to version 1:0.78-12.module+el8.10.0+90610+44f1ea29 or higher.
This issue was patched in ELSA-2025-8696.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perl-FCGI package and not the perl-FCGI package as distributed by Oracle. See How to fix? for Oracle: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