Integer Overflow or Wraparound Affecting perl-FCGI package, versions <1:0.82-13.1.el10_0


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-ORACLE10-PERLFCGI-10566702
  • published30 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:10 perl-FCGI to version 1:0.82-13.1.el10_0 or higher.
This issue was patched in ELSA-2025-8636.

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:10 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