CVE-2025-40908 Affecting perl-YAML-LibYAML package, versions <1:0.82-6.1.el9_6


Severity

Recommended
high

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.4% (33rd 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-ALMALINUX9-PERLYAMLLIBYAML-10590179
  • published3 Jul 2025
  • disclosed23 Jun 2025

Introduced: 23 Jun 2025

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

How to fix?

Upgrade AlmaLinux:9 perl-YAML-LibYAML to version 1:0.82-6.1.el9_6 or higher.
This issue was patched in ALSA-2025:9330.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perl-YAML-LibYAML package and not the perl-YAML-LibYAML package as distributed by AlmaLinux. See How to fix? for AlmaLinux:9 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