Home / CVE-2017-20285
CVE-2017-20285: is it exploited, and which versions are affected and fixed?
CVE-2017-20285 is a deserialization of untrusted data 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, 17:39 UTC). Affected: YAML before 1.30 (CVE record by CPANSec). Fixed in 1.30 (CVE record by CPANSec). Severity: Critical (9.1, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 07:06 UTC.
What is CVE-2017-20285?
YAML versions before 1.30 for Perl allow a loaded document to trigger the DESTROY method of arbitrary classes. A perl/hash:Class tag blesses a hash into the class it names. The document supplies the object's fields, and Perl calls DESTROY when it goes out of scope. What DESTROY does depends on the classes the process has loaded. With File::Temp::Dir from core Perl, it can delete a directory tree the document names.
From the CVE record by CPANSec, last updated October 6, 2026, 17:02 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| YAML | before 1.30 | 1.30 |
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-2017-20285?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | 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-2017-20285 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, October 6, 2026)
- EPSS
- 0.34% probability of exploitation activity in the next 30 days, percentile 29.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-502 Deserialization of Untrusted Data
- CWE-470 Use of Externally-Controlled Input to Select Classes or Code
How do I fix it? (from the CVE record)
Upgrade to YAML 1.30 or later.
Is there a workaround? (from the CVE record)
For deployments that cannot upgrade to YAML 1.30, set $YAML::LoadBlessed = 0 before loading untrusted input. The option exists from YAML 1.25.
Where are the vendor advisories and references?
- https://github.com/ingydotnet/yaml-pm/issues/176 issue-tracking
- https://github.com/ingydotnet/yaml-pm/commit/471314bbdcbd62077eea32755929122aa8bd00a3.patch patch
- https://github.com/ingydotnet/yaml-pm/commit/7736f38bd02e4f9f77d5468721e3be3d7b34a8ec.patch patch
- https://metacpan.org/release/TINITA/YAML-1.30/changes release-notes
- http://www.openwall.com/lists/oss-security/2026/10/05/8
When was it published, and where is the official record?
- Reserved
- September 21, 2026
- Published
- October 5, 2026, 06:49 UTC
- CVE record updated
- October 6, 2026, 17:02 UTC by CPANSec
- NVD
- Deferred, last modified October 6, 2026, 17:17 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 07:06 UTC; KEV December 3, 2026, 17: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-2017-20285
Is CVE-2017-20285 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.34% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions are affected by CVE-2017-20285?
YAML before 1.30, per the CVE record by CPANSec. The tables above give every range the sources list.
Which version fixes CVE-2017-20285?
1.30, per the CVE record by CPANSec. Check the vendor's advisory before you rely on it.
How severe is CVE-2017-20285?
Critical (9.1, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2017-20285?
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.