CVE-2025-40907

Source
https://cve.org/CVERecord?id=CVE-2025-40907
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40907.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-40907
Downstream
Related
Published
2025-05-16T13:15:52.683Z
Modified
2026-04-16T04:30:56.837474858Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/fastcgi-archives/fcgi2

Affected ranges

Type
GIT
Repo
https://github.com/fastcgi-archives/fcgi2
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
GIT
Repo
https://github.com/perl-catalyst/FCGI
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0.44"
        },
        {
            "last_affected": "0.82"
        }
    ]
}

Affected versions

0.*
0.67_01
0.67_01-RC1
0.68
0.68_01
0.68_02
0.70
0.71
0.71_01
0.71_02
0.71_03
0.72
0.73
0.74
0.75
0.76
0.77
0.78
0.80
0.81
0.82
2.*
2.1.1
2.2.2
2.2.3
2.4.0
2.4.1
2.4.1.1
2.4.2
2.4.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40907.json"