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
Related
Published
2025-06-01T14:15:00Z
Modified
2025-06-05T17:10:37Z
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
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:Pro:16.04:LTS / libyaml-libyaml-perl

Package

Name
libyaml-libyaml-perl
Purl
pkg:deb/ubuntu/libyaml-libyaml-perl@0.41-6build1?arch=source&distro=esm-infra/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

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro: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=esm-infra/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

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro: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=esm-infra/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

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / libyaml-libyaml-perl

Package

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

Affected ranges

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

Affected versions

0.*

0.82+repack-1build1
0.82+repack-1build2
0.83+ds-1
0.83+ds-1build1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / libyaml-libyaml-perl

Package

Name
libyaml-libyaml-perl
Purl
pkg:deb/ubuntu/libyaml-libyaml-perl@0.89+ds-1build2?arch=source&distro=oracular

Affected ranges

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

Affected versions

0.*

0.89+ds-1build2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / libyaml-libyaml-perl

Package

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

Affected ranges

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

Affected versions

0.*

0.86+ds-1
0.89+ds-1
0.89+ds-1build1
0.89+ds-1build2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:25.04 / libyaml-libyaml-perl

Package

Name
libyaml-libyaml-perl
Purl
pkg:deb/ubuntu/libyaml-libyaml-perl@0.903.0+ds-1?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.903.0+ds-1

Affected versions

0.*

0.89+ds-1build2
0.902.0+ds-2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.903.0+ds-1",
            "binary_name": "libyaml-libyaml-perl"
        },
        {
            "binary_version": "0.903.0+ds-1",
            "binary_name": "libyaml-libyaml-perl-dbgsym"
        }
    ]
}