UBUNTU-CVE-2025-40908

Source
https://ubuntu.com/security/CVE-2025-40908
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-40908.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-40908
Upstream
Downstream
Related
Published
2025-06-01T14:15:00Z
Modified
2026-02-04T04:22:29.816186Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

YAML-LibYAML prior to 0.903.0 for Perl uses 2-args open, allowing existing files to be modified

References

Affected packages

Ubuntu:16.04:LTS / libyaml-libyaml-perl

Package

Name
libyaml-libyaml-perl
Purl
pkg:deb/ubuntu/libyaml-libyaml-perl@0.41-6build1?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.41-6
0.41-6build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libyaml-libyaml-perl",
            "binary_version": "0.41-6build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-40908.json"

Ubuntu:18.04:LTS / libyaml-libyaml-perl

Package

Name
libyaml-libyaml-perl
Purl
pkg:deb/ubuntu/libyaml-libyaml-perl@0.69+repack-1?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.63-2build1
0.69+repack-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libyaml-libyaml-perl",
            "binary_version": "0.69+repack-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-40908.json"

Ubuntu:20.04:LTS / libyaml-libyaml-perl

Package

Name
libyaml-libyaml-perl
Purl
pkg:deb/ubuntu/libyaml-libyaml-perl@0.81+repack-1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.80+repack-1
0.80+repack-1build1
0.80+repack-2
0.81+repack-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libyaml-libyaml-perl",
            "binary_version": "0.81+repack-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-40908.json"

Ubuntu:22.04:LTS / libyaml-libyaml-perl

Package

Name
libyaml-libyaml-perl
Purl
pkg:deb/ubuntu/libyaml-libyaml-perl@0.83+ds-1ubuntu0.22.04.1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.83+ds-1ubuntu0.22.04.1

Affected versions

0.*
0.82+repack-1build1
0.82+repack-1build2
0.83+ds-1
0.83+ds-1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libyaml-libyaml-perl",
            "binary_version": "0.83+ds-1ubuntu0.22.04.1"
        }
    ],
    "availability": "No subscription required"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-40908.json"

Ubuntu:24.04:LTS / libyaml-libyaml-perl

Package

Name
libyaml-libyaml-perl
Purl
pkg:deb/ubuntu/libyaml-libyaml-perl@0.89+ds-1ubuntu0.24.04.1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.89+ds-1ubuntu0.24.04.1

Affected versions

0.*
0.86+ds-1
0.89+ds-1
0.89+ds-1build1
0.89+ds-1build2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libyaml-libyaml-perl",
            "binary_version": "0.89+ds-1ubuntu0.24.04.1"
        }
    ],
    "availability": "No subscription required"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-40908.json"