CVE-2025-40908 Affecting libyaml-libyaml-perl package, versions <0.903.0+ds-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.47% (43rd 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-ECHOLATEST-LIBYAMLLIBYAMLPERL-22587185
  • published18 Nov 2026
  • disclosed1 Jun 2025

Introduced: 1 Jun 2025

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

How to fix?

Upgrade Echo:latest libyaml-libyaml-perl to version 0.903.0+ds-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 Echo. See How to fix? for Echo:latest 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