VDB

CVE-2019-25777

CVE-2019-25777 PUBLISHED CVSS 7.3 HIGH

Reported by cpansec · Published October 5, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
perl-YAMLerrata.rockylinux.org0:1.24-4.module+el8.10.0+40403+df14587c.src, 0:1.24-4.module+el8.10.0+40403+df14587c.noarch, 0:1.24-4.module+el8.10.0+40403+bd06a93a.src, 0:1.24-4.module+el8.10.0+40403+bd06a93a.noarch, 0:1.24-4.module+el8.10.0+40403+9457ea6c.src, 0:1.24-4.module+el8.10.0+40403+9457ea6c.noarch, 0:1.24-4.module+el8.10.0+40403+94558160.src, 0:1.24-4.module+el8.10.0+40403+94558160.noarch
perl-YAMLAmazon Linux0.84-5.amzn2.0.2
YAMLcpan.org1.27_001

Risk scores

CVSS 3.1
7.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Affected products

VendorProductVersions
0
amazon:2perl-YAML0
0

Timeline

  • Oct 5, 2026 EPSS Score (20 in total, the first dated here)
  • Oct 5, 2026 Coalition ESS Score
  • Oct 5, 2026 CVE Published
  • Oct 6, 2026 CVE Updated
  • Nov 11, 2026 Distribution Patch
  • Nov 11, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2019-25777
vulnetix vdb fixes CVE-2019-25777

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-25777/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›