ETHER FCGI up to 0.82 on Perl fcgiapp.c ReadParams nameLen/valueLen vulnerable third-party component

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.0$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as problematic, was found in ETHER FCGI up to 0.82 on Perl. This vulnerability affects the function ReadParams of the file fcgiapp.c. Such manipulation of the argument nameLen/valueLen leads to vulnerable third-party component. This vulnerability is referenced as CVE-2025-40907. Furthermore, an exploit is available. You should upgrade the affected component.

Detailsinfo

A vulnerability was found in ETHER FCGI up to 0.82 on Perl and classified as problematic. Affected by this issue is the function ReadParams of the file fcgiapp.c. The manipulation of the argument nameLen/valueLen with an unknown input leads to a vulnerable third-party component vulnerability. Using CWE to declare the problem leads to CWE-1395. The product has a dependency on a third-party component that contains one or more known vulnerabilities. The impact remains unknown. CVE summarizes:

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.

The advisory is available at openwall.com. This vulnerability is handled as CVE-2025-40907 since 04/16/2025. Technical details as well as a public exploit are known.

The exploit is available at synacktiv.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 237968 (RHEL 9 : perl-FCGI (RHSA-2025:8635)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 2.4.5 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying a patch is able to eliminate this problem. The bugfix is ready for download at patch-diff.githubusercontent.com. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Tenable (237968) and EUVD (EUVD-2025-15438). If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Vendor

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.5
VulDB Meta Temp Score: 5.0

VulDB Base Score: 5.5
VulDB Temp Score: 5.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Vulnerable third-party component
CWE: CWE-1395
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Partially

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 237968
Nessus Name: RHEL 9 : perl-FCGI (RHSA-2025:8635)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: FCGI 2.4.5
Patch: patch-diff.githubusercontent.com

Timelineinfo

04/16/2025 🔍
05/16/2025 +30 days 🔍
05/16/2025 +0 days 🔍
07/02/2025 +47 days 🔍

Sourcesinfo

Advisory: openwall.com
Status: Confirmed

CVE: CVE-2025-40907 (🔍)
GCVE (CVE): GCVE-0-2025-40907
GCVE (VulDB): GCVE-100-309290
EUVD: 🔍
scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 05/16/2025 15:38
Updated: 07/02/2025 08:25
Changes: 05/16/2025 15:38 (62), 05/16/2025 18:26 (1), 06/09/2025 18:40 (2), 07/02/2025 08:25 (1)
Complete: 🔍
Cache ID: 216::103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!