CVE-2020-36561: Due to improper path sanitization, archives containing relative file paths can cause files to be written (or o
CVE-2020-36561 is a critical-severity flaw (CVSS 9.1) affecting unzip. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
Why this priority
- Critical severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.1 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.4% (top 27%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2022-12-27 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2020-36561?
unzip: upgrade to 1.0.3-0.20200308084313-2adbaa4891b9. Exact commands for each OS are on this page.
Is CVE-2020-36561 being exploited?
CVE-2020-36561 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2020-36561 affect?
CVE-2020-36561 affects unzip. Severity is critical (CVSS 9.1). Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
How urgent is CVE-2020-36561?
Priority 60/100. Critical severity; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2022-0530 MEDIUM 5.5 DOWNGRADE MITIGATE A flaw was found in Unzip
- CVE-2022-0529 MEDIUM 5.5 DOWNGRADE MITIGATE A flaw was found in Unzip
- CVE-2021-4217 LOW 3.3 DOWNGRADE MITIGATE A flaw was found in unzip
- CVE-2019-13232 LOW 3.3 DOWNGRADE MITIGATE Info-ZIP UnZip 6.0 mishandles the overlapping of files inside a ZIP container, leading to denial of service (r
- CVE-2018-18384 MEDIUM 5.5 DOWNGRADE Info-ZIP UnZip 6.0 has a buffer overflow in list.c, when a ZIP archive has a crafted relationship between the