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:03:02.774Z
Modified
2026-07-15T01:48:59.604800056Z
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
FCGI versions 0.44 through 0.82, for Perl, include a vulnerable version of the FastCGI fcgi2 (aka fcgi) library
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.

Database specific
{
    "cwe_ids": [
        "CWE-122",
        "CWE-1395",
        "CWE-190"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40907.json",
    "cna_assigner": "CPANSec"
}
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
Database specific
{
    "source": "REFERENCES"
}
Type
GIT
Repo
https://github.com/perl-catalyst/fcgi
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "cpe": "cpe:2.3:a:fastcgi:fcgi:*:*:*:*:*:perl:*:*",
    "extracted_events": [
        {
            "introduced": "0.44"
        },
        {
            "last_affected": "0.82"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ]
}

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"