ubuntu-cve-2025-40907
Vulnerability from osv_ubuntu
Published
2025-05-16 13:15
Modified
2025-09-08 17:11
Summary
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.
Severity
5.3 (Medium)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "libfcgi-perl",
"binary_version": "0.77-1ubuntu0.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "libfcgi-perl",
"purl": "pkg:deb/ubuntu/libfcgi-perl@0.77-1ubuntu0.1~esm1?arch=source\u0026distro=esm-infra/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.77-1ubuntu0.1~esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.77-1",
"0.77-1build1"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "libfcgi-perl",
"binary_version": "0.78-2ubuntu0.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "libfcgi-perl",
"purl": "pkg:deb/ubuntu/libfcgi-perl@0.78-2ubuntu0.1~esm1?arch=source\u0026distro=esm-infra/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.78-2ubuntu0.1~esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.78-2build1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libfcgi-perl",
"binary_version": "0.79-1ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "libfcgi-perl",
"purl": "pkg:deb/ubuntu/libfcgi-perl@0.79-1ubuntu0.1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.79-1ubuntu0.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.78-2build2",
"0.78-2build3",
"0.79-1"
]
}
],
"aliases": [],
"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.",
"id": "UBUNTU-CVE-2025-40907",
"modified": "2025-09-08T17:11:56Z",
"published": "2025-05-16T13:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2025-40907"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2025-40907"
},
{
"type": "REPORT",
"url": "https://lists.security.metacpan.org/cve-announce/msg/29651740/"
},
{
"type": "REPORT",
"url": "http://www.openwall.com/lists/oss-security/2025/04/23/4"
},
{
"type": "REPORT",
"url": "https://github.com/FastCGI-Archives/fcgi2/issues/67"
},
{
"type": "REPORT",
"url": "https://github.com/FastCGI-Archives/fcgi2/releases/tag/2.4.5"
},
{
"type": "REPORT",
"url": "https://github.com/perl-catalyst/FCGI/issues/14"
},
{
"type": "REPORT",
"url": "https://patch-diff.githubusercontent.com/raw/FastCGI-Archives/fcgi2/pull/74.patch"
},
{
"type": "REPORT",
"url": "https://www.synacktiv.com/en/publications/cve-2025-23016-exploiting-the-fastcgi-library"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7527-1"
}
],
"related": [
"USN-7527-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2025-40907"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…