What’s Vulnerable › Vulnerabilities
CVE-2022-0530
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-02-09 · updated 2026-10-08
Description
A flaw was found in Unzip. The vulnerability occurs during the conversion of a wide string to a local string that leads to a heap of out-of-bound write. This flaw allows an attacker to input a specially crafted zip file, leading to a crash or code execution.
Affected products
- macOS: from 10.15 before 10.15.7; 10.15.7, 10.15.7-security_update_2020, 10.15.7-security_update_2020-001, 10.15.7-security_update_2020-005, 10.15.7-security_update_2020-007, 10.15.7-security_update_2021-001 (+9) — fixed in 10.15.7
- Apple macOS: from 11.0 before 11.6.6; from 12.0.0 before 12.4 — fixed in 11.6.6, 12.4
- Debian Linux: 10.0, 11.0
- Fedoraproject Fedora: 35
- Red Hat Enterprise Linux: 8.0
- github.com/yi-ge/unzip: 6.0
How to fix
Upgrade to a fixed version: macOS 10.15.7; Apple macOS 11.6.6, 12.4. Check the vendor advisory for mitigations.
References
- http://seclists.org/fulldisclosure/2022/May/33
- http://seclists.org/fulldisclosure/2022/May/35
- http://seclists.org/fulldisclosure/2022/May/38
- https://bugzilla.redhat.com/show_bug.cgi?id=2051395
- https://github.com/ByteHackr/unzip_poc
- https://lists.debian.org/debian-lts-announce/2022/09/msg00028.html
- https://security.gentoo.org/glsa/202310-17
- https://support.apple.com/kb/HT213255
- https://support.apple.com/kb/HT213256
- https://support.apple.com/kb/HT213257
- https://www.debian.org/security/2022/dsa-5202
- http://seclists.org/fulldisclosure/2022/May/33
Get alerted when CVE-2022-0530 or the next vulnerability affects your stack