CVE-2022-0530
A flaw was found in unzip 6.0. The vulnerability occurs during the conversion of an utf-8 string...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
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.
- Record
CVE-2022-0530- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2022-0530- Updated
- 2026-11-02
EUVDEUVD-2022-15656 No score
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.
- Record
EUVD-2022-15656- Updated
- 2026-11-02
GitHub AdvisoriesGHSA-8p3j-58qw-jhp4
7.8
A flaw was found in unzip 6.0. The vulnerability occurs during the conversion of an utf-8 string...
A flaw was found in unzip 6.0. The vulnerability occurs during the conversion of an utf-8 string to a local string that leads to a segmentation fault. This flaw allows an attacker to input a specially crafted zip file, leading to a crash or code execution.
- Record
GHSA-8p3j-58qw-jhp4- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVALPINE-CVE-2022-0530
5.5
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.
- Record
ALPINE-CVE-2022-0530- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSVAZL-35344
5.5
CVE-2022-0530 affecting package unzip for versions less than 6.0-21
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.
- Record
AZL-35344- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-05
Show 14 moreShow less
OSVAZL-8533
5.5
CVE-2022-0530 affecting package unzip for versions less than 6.0-21
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.
- Record
AZL-8533- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVBELL-CVE-2022-0530
5.5
CVE-2022-0530 does not affect BellSoft software
- Record
BELL-CVE-2022-0530- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
5.5
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.
- Record
CVE-2022-0530- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-0530
5.5
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.
- Record
DEBIAN-CVE-2022-0530- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSVOESA-2022-1548
7.8
unzip security update
A utility for unpacking zip files.
Security Fix(es):
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.(CVE-2022-0530)
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.(CVE-2022-0529)
- Record
OESA-2022-1548- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2022-0530
5.5
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.
- Record
UBUNTU-CVE-2022-0530- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVCLSA-2024-1716917767 No score
unzip: Fix of CVE-2022-0530
- CVE-2022-0530: possible flaw occurance during the conversion of a wide string to a local string
- Record
CLSA-2024-1716917767- Updated
- 2026-11-02
OSVCLSA-2026-1778131952 No score
unzip: Fix of 3 CVEs
- CVE-2021-4217: fix null pointer dereference in EF_UNIPATH extra field handling
- CVE-2022-0529: fix heap-based buffer overflow in wide_to_local_string
- CVE-2022-0530: fix null pointer dereference on invalid UTF-8 input
- Record
CLSA-2026-1778131952- Updated
- 2026-11-02
OSVCLSA-2026-1778132770 No score
unzip: Fix of 2 CVEs
- CVE-2022-0529: fix heap-based buffer overflow in wide_to_local_string
- CVE-2022-0530: fix null pointer dereference on invalid UTF-8 input
- Record
CLSA-2026-1778132770- Updated
- 2026-11-02
OSVMGASA-2022-0371 No score
Updated unzip packages fix security vulnerability
Improper handling of Unicode strings, which can lead to a null pointer dereference. This flaw allows an attacker to input a specially crafted zip file, leading to a crash or code execution. (CVE-2021-4217)
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. (CVE-2022-0529, CVE-2022-0530)
- Record
MGASA-2022-0371- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12357-1 No score
unzip-6.00-40.1 on GA media
These are all security issues fixed in the unzip-6.00-40.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12357-1- Updated
- 2026-11-02
OSVSUSE-SU-2022:3386-1 No score
Security update for unzip
This update for unzip fixes the following issues:
- CVE-2022-0530: Fixed SIGSEGV during the conversion of an utf-8 string to a local string (bsc#1196177).
- CVE-2022-0529: Fixed heap out-of-bound writes and reads during conversion of wide string to local string (bsc#1196180).
- Record
SUSE-SU-2022:3386-1- Updated
- 2026-11-02
OSVSUSE-SU-2022:3399-1 No score
Security update for unzip
This update for unzip fixes the following issues:
- CVE-2022-0530: Fixed SIGSEGV during the conversion of an utf-8 string to a local string (bsc#1196177).
- CVE-2022-0529: Fixed heap out-of-bound writes and reads during conversion of wide string to local string (bsc#1196180)
- Record
SUSE-SU-2022:3399-1- Updated
- 2026-11-02
OSVUSN-5673-1 No score
unzip vulnerabilities
It was discovered that unzip did not properly handle unicode strings under certain circumstances. If a user were tricked into opening a specially crafted zip file, an attacker could possibly use this issue to cause unzip to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2021-4217)
It was discovered that unzip did not properly perform bounds checking while converting wide strings to local strings. If a user were tricked into opening a specially crafted zip file, an attacker could possibly use this issue to cause unzip to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2022-0529, CVE-2022-0530)
- Record
USN-5673-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
unzipAlpine:v3.17 |
before 6.0-r11 | 6.0-r11 |
unzipAlpine:v3.18 |
before 6.0-r11 | 6.0-r11 |
unzipAlpine:v3.19 |
before 6.0-r11 | 6.0-r11 |
unzipAlpine:v3.20 |
before 6.0-r11 | 6.0-r11 |
unzipAlpine:v3.21 |
before 6.0-r11 | 6.0-r11 |
unzipAlpine:v3.22 |
before 6.0-r11 | 6.0-r11 |
unzipAlpine:v3.23 |
before 6.0-r11 | 6.0-r11 |
unzipAlpine:v3.24 |
before 6.0-r11 | 6.0-r11 |
unzipAzure Linux:3 |
before 6.0-21 | 6.0-21 |
unzipAzure Linux:2 |
before 6.0-21 | 6.0-21 |
Show 29 moreShow less
| Package | Affected | Fixed |
|---|---|---|
unzipTuxCare:CentOS:7 |
before 6.0-24.el7_9.tuxcare.els1 | 6.0-24.el7_9.tuxcare.els1 |
unzipTuxCare:AlmaLinux:9.2 From an advisory covering 3 CVEs |
before 6.0-56.el9_2.tuxcare.els1 | 6.0-56.el9_2.tuxcare.els1 |
unzipTuxCare:AlmaLinux:9.6 From an advisory covering 2 CVEs |
before 6.0-58.el9_6.tuxcare.els1 | 6.0-58.el9_6.tuxcare.els1 |
unzipDebian:12 |
before 6.0-27 | 6.0-27 |
unzipDebian:13 |
before 6.0-27 | 6.0-27 |
unzipDebian:14 |
before 6.0-27 | 6.0-27 |
unzipDebian:10 From an advisory covering 2 CVEs |
before 6.0-23+deb10u3, plus listed versions 6.0-236.0-23+deb10u16.0-23+deb10u2 |
6.0-23+deb10u3 |
unzipDebian:11 From an advisory covering 2 CVEs |
before 6.0-26+deb11u1, plus listed versions 6.0-26 |
6.0-26+deb11u1 |
unzipMageia:8 From an advisory covering 3 CVEs |
before 6.0-2.1.mga8 | 6.0-2.1.mga8 |
unzipopenEuler:20.03-LTS-SP1 From an advisory covering 2 CVEs |
before 6.0-46.oe1 | 6.0-46.oe1 |
unzipopenEuler:20.03-LTS-SP2 From an advisory covering 2 CVEs |
before 6.0-46.oe1 | 6.0-46.oe1 |
unzipopenEuler:20.03-LTS-SP3 From an advisory covering 2 CVEs |
before 6.0-46.oe1 | 6.0-46.oe1 |
unzipSUSE:Linux Enterprise Server 12 SP5 From an advisory covering 2 CVEs |
before 6.00-33.16.1 | 6.00-33.16.1 |
unzipSUSE:Linux Enterprise Server for SAP Applications 12 SP5 From an advisory covering 2 CVEs |
before 6.00-33.16.1 | 6.00-33.16.1 |
unzipSUSE:Linux Enterprise Module for Basesystem 15 SP3 From an advisory covering 2 CVEs |
before 6.00-150000.4.11.1 | 6.00-150000.4.11.1 |
unzipSUSE:Linux Enterprise Module for Basesystem 15 SP4 From an advisory covering 2 CVEs |
before 6.00-150000.4.11.1 | 6.00-150000.4.11.1 |
unzipopenSUSE:Leap 15.3 From an advisory covering 2 CVEs |
before 6.00-150000.4.11.1 | 6.00-150000.4.11.1 |
unzipopenSUSE:Leap 15.4 From an advisory covering 2 CVEs |
before 6.00-150000.4.11.1 | 6.00-150000.4.11.1 |
unzipUbuntu:Pro:14.04:LTS |
before 6.0-9ubuntu1.6+esm1, plus listed versions 6.0-9ubuntu16.0-9ubuntu1.16.0-9ubuntu1.26.0-9ubuntu1.36.0-9ubuntu1.46.0-9ubuntu1.56.0-9ubuntu1.6 |
6.0-9ubuntu1.6+esm1 |
unzipUbuntu:Pro:16.04:LTS |
before 6.0-20ubuntu1.1+esm1, plus listed versions 6.0-17ubuntu16.0-19ubuntu16.0-19ubuntu26.0-20ubuntu16.0-20ubuntu1.1 |
6.0-20ubuntu1.1+esm1 |
unzipUbuntu:18.04:LTS |
before 6.0-21ubuntu1.2, plus listed versions 6.0-21ubuntu16.0-21ubuntu1.1 |
6.0-21ubuntu1.2 |
unzipUbuntu:20.04:LTS |
before 6.0-25ubuntu1.1, plus listed versions 6.0-25ubuntu1 |
6.0-25ubuntu1.1 |
unzipUbuntu:22.04:LTS |
before 6.0-26ubuntu3.1, plus listed versions 6.0-26ubuntu16.0-26ubuntu26.0-26ubuntu3 |
6.0-26ubuntu3.1 |
unzipUbuntu:Pro:14.04:LTS From an advisory covering 3 CVEs |
before 6.0-9ubuntu1.6+esm1, plus listed versions 6.0-9ubuntu16.0-9ubuntu1.16.0-9ubuntu1.26.0-9ubuntu1.36.0-9ubuntu1.46.0-9ubuntu1.56.0-9ubuntu1.6 |
6.0-9ubuntu1.6+esm1 |
unzipUbuntu:Pro:16.04:LTS From an advisory covering 3 CVEs |
before 6.0-20ubuntu1.1+esm1, plus listed versions 6.0-17ubuntu16.0-19ubuntu16.0-19ubuntu26.0-20ubuntu16.0-20ubuntu1.1 |
6.0-20ubuntu1.1+esm1 |
unzipUbuntu:18.04:LTS From an advisory covering 3 CVEs |
before 6.0-21ubuntu1.2, plus listed versions 6.0-21ubuntu16.0-21ubuntu1.1 |
6.0-21ubuntu1.2 |
unzipUbuntu:20.04:LTS From an advisory covering 3 CVEs |
before 6.0-25ubuntu1.1, plus listed versions 6.0-25ubuntu1 |
6.0-25ubuntu1.1 |
unzipUbuntu:22.04:LTS From an advisory covering 3 CVEs |
before 6.0-26ubuntu3.1, plus listed versions 6.0-26ubuntu16.0-26ubuntu26.0-26ubuntu3 |
6.0-26ubuntu3.1 |
unzipopenSUSE:Tumbleweed From an advisory covering 2 CVEs |
before 6.00-40.1 | 6.00-40.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| facts | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-0530 is a medium vulnerability (CVSS 5.5) in Info-zip Unzip, published February 9, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.09%, the 81st percentile. Fixed in unzip 6.0-r11.
References
bugzilla.redhat.com/show_bug.cgi?id=2051395
github.com/ByteHackr/unzip_poc
support.apple.com/kb/HT213257
support.apple.com/kb/HT213256
support.apple.com/kb/HT213255
seclists.org/fulldisclosure/2022/May/33
Show 34 moreShow less
seclists.org/fulldisclosure/2022/May/35
seclists.org/fulldisclosure/2022/May/38
debian.org/security/2022/dsa-5202
lists.debian.org/debian-lts-announce/2022/09/msg00028.html
security.gentoo.org/glsa/202310-17
nvd.nist.gov/vuln/detail/CVE-2022-0530
github.com/advisories/GHSA-8p3j-58qw-jhp4
security.alpinelinux.org/vuln/CVE-2022-0530
docs.bell-sw.com/security/cves/CVE-2022-0530
errata.tuxcare.com/centos7-els/CLSA-2024-1716917767.html
errata.tuxcare.com/els_os/almalinux9.2esu/CLSA-2026-1778131952.html
errata.tuxcare.com/els_os/tuxcare9.6esu/CLSA-2026-1778132770.html
security-tracker.debian.org/tracker/CVE-2022-0530
advisories.mageia.org/MGASA-2022-0371.html
bugs.mageia.org/show_bug.cgi?id=29893
bugs.launchpad.net/ubuntu/+source/unzip/+bug/1957077
bugzilla.redhat.com/show_bug.cgi?id=2044583
bugzilla.redhat.com/show_bug.cgi?id=2051402
debian.org/lts/security/2022/dla-3118
lists.opensuse.org/archives/list/[email protected]/thread/VFUXYMOCMRAV3GMQQKYX6T4L2I23XSQU
ubuntu.com/security/notices/USN-5673-1
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1548
nvd.nist.gov/vuln/detail/CVE-2022-0529
suse.com/support/update/announcement/2022/suse-su-20223386-1
bugzilla.suse.com/1196177
bugzilla.suse.com/1196180
suse.com/security/cve/CVE-2022-0529
suse.com/security/cve/CVE-2022-0530
suse.com/support/update/announcement/2022/suse-su-20223399-1
ubuntu.com/security/CVE-2022-0530
cve.org/CVERecord?id=CVE-2022-0530
ubuntu.com/security/CVE-2021-4217
ubuntu.com/security/CVE-2022-0529
launchpad.net/bugs/1957077