Home / CVE-2019-25777
CVE-2019-25777: is it exploited, and which versions are affected and fixed?
CVE-2019-25777 is an improper Control of Dynamically-Identified Variables vulnerability. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: YAML before 1.27_001 (CVE record by CPANSec). Fixed in 1.27_001 (CVE record by CPANSec). Severity: High (7.3, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 07:06 UTC.
What is CVE-2019-25777?
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.
From the CVE record by CPANSec, last updated October 6, 2026, 16:58 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| YAML | before 1.27_001 | 1.27_001 |
As the CVE record by CPANSec states it, last updated October 6, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2019-25777?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2019-25777 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, October 6, 2026)
- EPSS
- 0.35% probability of exploitation activity in the next 30 days, percentile 30.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-914 Improper Control of Dynamically-Identified Variables
- CWE-502 Deserialization of Untrusted Data
How do I fix it? (from the CVE record)
Upgrade to YAML 1.28 or later.
Is there a workaround? (from the CVE record)
For deployments that cannot upgrade to YAML 1.28, set $YAML::LoadBlessed = 0 before loading untrusted input. The option exists from YAML 1.25 and gates glob loading too.
Where are the vendor advisories and references?
- https://github.com/ingydotnet/yaml-pm/issues/212 issue-tracking
- https://github.com/ingydotnet/yaml-pm/commit/bace96b5e6661d521c7c515c94a09e081c911fce.patch patch
- https://metacpan.org/release/TINITA/YAML-1.28/changes release-notes
- http://www.openwall.com/lists/oss-security/2026/10/05/7
When was it published, and where is the official record?
- Reserved
- September 21, 2026
- Published
- October 5, 2026, 06:50 UTC
- CVE record updated
- October 6, 2026, 16:58 UTC by CPANSec
- NVD
- Deferred, last modified October 6, 2026, 17:17 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 07:06 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Which other CVEs were published on October 5, 2026?
- Oct 5, 2026CVE-2026-105786 laurent22 joplin: missing authentication for a critical function
- Oct 5, 2026CVE-2026-105471 girishsaraf Online-Appointment-Booking-System: SQL injection
- Oct 5, 2026CVE-2026-82988 Viewsonic vCast: authentication bypass (improper authentication)
- Oct 5, 2026CVE-2026-82989 Viewsonic vCast: improper Neutralization of Input Terminators
- Oct 5, 2026CVE-2026-105785 laurent22 joplin: unverified Password Change
- Oct 5, 2026CVE-2026-105784 laurent22 joplin: cross-site scripting (XSS)
- Oct 5, 2026CVE-2026-105783 laurent22 joplin: origin not validated
- Oct 5, 2026CVE-2026-105782 scrapy: unsafe reflection
Every CVE published on October 5, 2026
Questions about CVE-2019-25777
Is CVE-2019-25777 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.35% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions are affected by CVE-2019-25777?
YAML before 1.27_001, per the CVE record by CPANSec. The tables above give every range the sources list.
Which version fixes CVE-2019-25777?
1.27_001, per the CVE record by CPANSec. Check the vendor's advisory before you rely on it.
How severe is CVE-2019-25777?
High (7.3, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2019-25777?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.