CVE-2025-40907: FCGI versions 0.44 through 0.82, for Perl, include a vulnerable version of the FastCGI fcgi2 (aka fcgi) library

Published May 16, 2025
·
Updated

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 <a href="https://access.redhat.com/security/cve/CVE-2025-23016">CVE-2025-23016</a>, 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.

Other sources

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.

MITRE

Affected Software

2 affected components
FCGI FCGI>=0.44<=0.82
FastCGI Fcgi Perl>=0.44<=0.82

Event History

May 16, 2025
CVE Published
via MITRE·01:03 PM
Data Sourced
via MITRE·01:03 PM
DescriptionWeakness
Data Sourced
via NVD·01:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·02:01 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-40907?

CVE-2025-40907 has a high severity due to the potential for heap-based buffer overflow that can be exploited by attackers.

2

How do I fix CVE-2025-40907?

To fix CVE-2025-40907, upgrade the FastCGI library to a version that is higher than 0.82.

3

What versions are affected by CVE-2025-40907?

CVE-2025-40907 affects FastCGI versions from 0.44 through 0.82.

4

What vulnerabilities are associated with CVE-2025-40907?

CVE-2025-40907 is associated with CVE-2025-23016, which involves an integer overflow leading to a buffer overflow.

5

What products utilize the affected FastCGI versions in CVE-2025-40907?

The vulnerability in CVE-2025-40907 primarily affects the FastCGI product line, specifically versions 0.44 through 0.82.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203