CVE-2025-40908

Publication date 1 June 2025

Last updated 9 July 2025


Ubuntu priority

Cvss 3 Severity Score

9.1 · Critical

Score breakdown

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

Status

Package Ubuntu Release Status
libyaml-libyaml-perl 25.04 plucky
Not affected
24.10 oracular Ignored end of life
24.04 LTS noble
Fixed 0.89+ds-1ubuntu0.24.04.1
22.04 LTS jammy
Fixed 0.83+ds-1ubuntu0.22.04.1
20.04 LTS focal
Needs evaluation
18.04 LTS bionic
Needs evaluation
16.04 LTS xenial
Needs evaluation

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
libyaml-libyaml-perl

Severity score breakdown

Parameter Value
Base score 9.1 · Critical
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact None
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

References

Related Ubuntu Security Notices (USN)

    • USN-7632-1
    • YAML-LibYAML vulnerability
    • 9 July 2025

Other references