CVE-2025-40908 Affecting libyaml-libyaml-perl package, versions <0.83+ds-1ubuntu0.22.04.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.37% (60th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2204-LIBYAMLLIBYAMLPERL-10292763
  • published9 Jul 2025
  • disclosed1 Jun 2025

Introduced: 1 Jun 2025

CVE-2025-40908  (opens in a new tab)

How to fix?

Upgrade Ubuntu:22.04 libyaml-libyaml-perl to version 0.83+ds-1ubuntu0.22.04.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libyaml-libyaml-perl package and not the libyaml-libyaml-perl package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

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

CVSS Base Scores

version 3.1