CVE-2019-25777
YAML versions before 1.27_001 for Perl allow a loaded perl/glob document to replace any package…
- Risk score
- 54/100
- CVSS
- 7.3 v3.1
- Exploit chance (30 days)
- 0.3%
- Published
- 5 Oct 2026
Open in the live forecast Today's forecast
What to know
- What it is
- 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 option…
- Affected
- See advisory
- Fix
- Upgrade the product to 1.27 or later.
- Exploitation
- No known exploitation
Why it is Yellow
- CVSS 7.3 high
- Remotely exploitable without logging in
References
Original description
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.
Last activity 5 Oct 2026. Patch Forecast updates every hour.