CVE-2019-25777
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| perl-YAML | errata.rockylinux.org | 0: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-YAML | Amazon Linux | 0.84-5.amzn2.0.2 |
| YAML | cpan.org | 1.27_001 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| 0 | ||
| amazon:2 | perl-YAML | 0 |
| 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
- issue-tracking
- patch
- release-notes
- http://www.openwall.com/lists/oss-security/2026/10/05/7 url