CVE-2025-40908 Affecting perl-YAML-LibYAML package, versions <1:0.70-2.el8_10


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-ALMALINUX8-PERLYAMLLIBYAML-10568305
  • published1 Jul 2025
  • disclosed23 Jun 2025

Introduced: 23 Jun 2025

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

How to fix?

Upgrade AlmaLinux:8 perl-YAML-LibYAML to version 1:0.70-2.el8_10 or higher.
This issue was patched in ALSA-2025:9329.

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:8 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