CVE-2019-25777 Affecting libyaml-perl package, versions <1.29-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.34% (26th 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-DEBIAN13-LIBYAMLPERL-20511707
  • published5 Oct 2026
  • disclosed5 Oct 2026

Introduced: 5 Oct 2026

NewCVE-2019-25777  (opens in a new tab)

How to fix?

Upgrade Debian:13 libyaml-perl to version 1.29-1 or higher.

NVD Description

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

YAML versions before 1.27_001 for Perl allow a loaded perl/glob document to replace any package variable, which can lead to arbitrary code execution.

A perl/glob document names a package and a symbol, and supplies the value assigned to it. Nothing restricts the name, so the target can be @INC or YAML's own load options.

A perl/glob document that sets $YAML::LoadCode or $YAML::UseCode turns on code loading, which is off by default, for every later Load() in the process. A perl/code document is then passed to a string eval, so an attacker who supplies two documents to separate Load() calls in one process can execute arbitrary Perl code.

CVSS Base Scores

version 3.1