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


Severity

Recommended
high

Based on Rocky Linux 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-ROCKY8-PERLYAMLLIBYAMLDEBUGSOURCE-11327804
  • published30 Jul 2025
  • disclosed1 Jun 2025

Introduced: 1 Jun 2025

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

How to fix?

Upgrade Rocky-Linux:8 perl-YAML-LibYAML-debugsource to version 1:0.70-2.el8_10 or higher.
This issue was patched in RLSA-2025:9329.

NVD Description

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