UBUNTU-CVE-2025-40907

Source
https://ubuntu.com/security/CVE-2025-40907
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-40907.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2025-40907
Upstream
Downstream
Related
Published
2025-05-16T13:15:00Z
Modified
2025-07-18T17:05:07Z
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
  • Ubuntu - medium
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

Ubuntu:Pro:16.04:LTS / libfcgi-perl

Package

Name
libfcgi-perl
Purl
pkg:deb/ubuntu/libfcgi-perl@0.77-1ubuntu0.1~esm1?arch=source&distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.77-1ubuntu0.1~esm1

Affected versions

0.*

0.77-1
0.77-1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libfcgi-perl",
            "binary_version": "0.77-1ubuntu0.1~esm1"
        },
        {
            "binary_name": "libfcgi-perl-dbgsym",
            "binary_version": "0.77-1ubuntu0.1~esm1"
        }
    ],
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
}

Ubuntu:Pro:18.04:LTS / libfcgi-perl

Package

Name
libfcgi-perl
Purl
pkg:deb/ubuntu/libfcgi-perl@0.78-2ubuntu0.1~esm1?arch=source&distro=esm-infra/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.78-2ubuntu0.1~esm1

Affected versions

0.*

0.78-2build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libfcgi-perl",
            "binary_version": "0.78-2ubuntu0.1~esm1"
        },
        {
            "binary_name": "libfcgi-perl-dbgsym",
            "binary_version": "0.78-2ubuntu0.1~esm1"
        }
    ],
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"
}

Ubuntu:20.04:LTS / libfcgi-perl

Package

Name
libfcgi-perl
Purl
pkg:deb/ubuntu/libfcgi-perl@0.79-1ubuntu0.1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.79-1ubuntu0.1

Affected versions

0.*

0.78-2build2
0.78-2build3
0.79-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libfcgi-perl",
            "binary_version": "0.79-1ubuntu0.1"
        },
        {
            "binary_name": "libfcgi-perl-dbgsym",
            "binary_version": "0.79-1ubuntu0.1"
        }
    ],
    "availability": "No subscription required"
}