CVE-2018-1000035
published 2018-02-09CVE-2018-1000035: A heap-based buffer overflow exists in Info-Zip UnZip version <= 6.00 in the processing of password-protected archives that allows an attacker to perform a…
PriorityP349high7.8CVSS 3.0
AVLACLPRNUIRSUCHIHAH
EPSS
30.47%
98.0th percentile
A heap-based buffer overflow exists in Info-Zip UnZip version <= 6.00 in the processing of password-protected archives that allows an attacker to perform a denial of service or to possibly achieve code execution.
Affected
27 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | unzip | < unzip 6.0-22 (bookworm) | unzip 6.0-22 (bookworm) |
| msrc | azl3_unzip_6.0-20_on_azure_linux_3.0 | — | — |
| msrc | azl3_unzip_6.0-22_on_azure_linux_3.0 | — | — |
| msrc | cbl2_unzip_6.0-19_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| msrc | cm1_unzip_6.0-16_on_cbl_mariner_1.0 | — | — |
| msrc | unzip-6.0-16.cm1.aarch64.rpm_on_cbl_mariner_1.0_arm | — | — |
| msrc | unzip-6.0-16.cm1.x86_64.rpm_on_cbl_mariner_1.0_x64 | — | — |
| msrc | unzip-6.0-19.cm2.aarch64.rpm_on_cbl_mariner_2.0_arm | — | — |
| msrc | unzip-6.0-19.cm2.x86_64.rpm_on_cbl_mariner_2.0_x64 | — | — |
| msrc | unzip-6.0-20.azl3.aarch64.rpm_on_azure_linux_3.0_arm | — | — |
| msrc | unzip-6.0-20.azl3.x86_64.rpm_on_azure_linux_3.0_x64 | — | — |
| msrc | unzip-debuginfo-6.0-16.cm1.aarch64.rpm_on_cbl_mariner_1.0_arm | — | — |
| msrc | unzip-debuginfo-6.0-16.cm1.x86_64.rpm_on_cbl_mariner_1.0_x64 | — | — |
| msrc | unzip-debuginfo-6.0-19.cm2.aarch64.rpm_on_cbl_mariner_2.0_arm | — | — |
| msrc | unzip-debuginfo-6.0-19.cm2.x86_64.rpm_on_cbl_mariner_2.0_x64 | — | — |
| unzip_project | unzip | <= 6.00 | — |
| unzip_project | unzip | >= 0 < 6.0-22 | 6.0-22 |
| unzip_project | unzip | >= 0 < 6.0-22 | 6.0-22 |
| unzip_project | unzip | >= 0 < 6.0-22 | 6.0-22 |
| unzip_project | unzip | >= 0 < 6.0-22 | 6.0-22 |
| unzip_project | unzip | >= 0 < 6.0-20ubuntu1.1 | 6.0-20ubuntu1.1 |
Detection & IOCsextracted from sources · hover to see the quote
- →The vulnerable code path is in the UzpPassword function in fileio.c. The heap overflow is triggered via a sprintf call building a password prompt using attacker-controlled filenames from inside the ZIP archive. Monitor for unzip processing password-protected ZIP files with unusually long filenames (exceeding FILNAMSIZ bounds). ↗
- →The overflow is triggered specifically when processing password-protected ZIP archives containing files with attacker-controlled, excessively long names. Detection should focus on unzip invocations against password-protected archives (-P flag or interactive password prompt) with embedded long filenames. ↗
- →Affected versions are Info-Zip UnZip <= 6.00. Audit installed unzip versions across systems; any deployment at or below 6.00 processing untrusted ZIP files is at risk. Debian fixed in 6.0-22; Fedora fixed in unzip-6.0-37. ↗
- ·Red Hat Enterprise Linux 5, 6, and 7 ship affected versions of unzip and are marked 'Will not fix'. RHEL 8 is not affected. Deployments on these RHEL versions should treat any unzip processing of untrusted password-protected ZIPs as a persistent risk. ↗
- ·The vulnerability is scoped as local exploitation (per Debian security tracker), meaning the attacker must be able to supply a crafted ZIP file to a user or automated system that invokes unzip with password processing. ↗
CVSS provenance
nvdv3.07.8HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8HIGH
vendor_msrc7.8HIGH
vendor_redhat7.8HIGH
vendor_ubuntu4.0MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-v5xf-cfj4-rv57: A heap-based buffer overflow exists in Info-Zip UnZip version <= 6
ghsa_unreviewed·2022-05-13
CVE-2018-1000035 [HIGH] CWE-787 GHSA-v5xf-cfj4-rv57: A heap-based buffer overflow exists in Info-Zip UnZip version <= 6
A heap-based buffer overflow exists in Info-Zip UnZip version <= 6.00 in the processing of password-protected archives that allows an attacker to perform a denial of service or to possibly achieve code execution.
OSV
unzip vulnerabilities
osv·2020-12-16·CVSS 4.0
CVE-2018-1000035 [MEDIUM] unzip vulnerabilities
unzip vulnerabilities
Rene Freingruber discovered that unzip incorrectly handled certain
specially crafted password protected ZIP archives. If a user or automated
system using unzip were tricked into opening a specially crafted zip file,
an attacker could exploit this to cause a crash, resulting in a denial of
service. (CVE-2018-1000035)
Antonio Carista discovered that unzip incorrectly handled certain
specially crafted ZIP archives. If a user or automated system using unzip
were tricked into opening a specially crafted zip file, an attacker could
exploit this to cause a crash, resulting in a denial of service. This
issue only affected Ubuntu 12.04 ESM and Ubuntu 14.04 ESM.
(CVE-2018-18384)
It was discovered that unzip incorrectly handled certain specially crafted
ZIP archives. If a use
OSV
CVE-2018-1000035: A heap-based buffer overflow exists in Info-Zip UnZip version <= 6
osv·2018-02-09·CVSS 7.8
CVE-2018-1000035 [HIGH] CVE-2018-1000035: A heap-based buffer overflow exists in Info-Zip UnZip version <= 6
A heap-based buffer overflow exists in Info-Zip UnZip version <= 6.00 in the processing of password-protected archives that allows an attacker to perform a denial of service or to possibly achieve code execution.
Ubuntu
unzip vulnerabilities
vendor_ubuntu·2020-12-16·CVSS 4.0
CVE-2018-1000035 [MEDIUM] unzip vulnerabilities
Title: unzip vulnerabilities
Summary: Several security issues were fixed in unzip.
Rene Freingruber discovered that unzip incorrectly handled certain
specially crafted password protected ZIP archives. If a user or automated
system using unzip were tricked into opening a specially crafted zip file,
an attacker could exploit this to cause a crash, resulting in a denial of
service. (CVE-2018-1000035)
Antonio Carista discovered that unzip incorrectly handled certain
specially crafted ZIP archives. If a user or automated system using unzip
were tricked into opening a specially crafted zip file, an attacker could
exploit this to cause a crash, resulting in a denial of service. This
issue only affected Ubuntu 12.04 ESM and Ubuntu 14.04 ESM.
(CVE-2018-18384)
It was discovered that unzip incorr
Microsoft
A heap-based buffer overflow exists in Info-Zip UnZip version <= 6.00 in the processing of password-protected archives that allows an attacker to perform a denial of service or to possibly achieve cod
vendor_msrc·2018-02-13·CVSS 7.8
CVE-2018-1000035 [HIGH] CWE-787 A heap-based buffer overflow exists in Info-Zip UnZip version <= 6.00 in the processing of password-protected archives that allows an attacker to perform a denial of service or to possibly achieve cod
A heap-based buffer overflow exists in Info-Zip UnZip version Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
mitre: mitre
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://learn
Red Hat
unzip: Heap-based buffer overflow in fileio.c:UzpPassword function allows code execution
vendor_redhat·2018-02-07·CVSS 7.8
CVE-2018-1000035 [HIGH] CWE-122 unzip: Heap-based buffer overflow in fileio.c:UzpPassword function allows code execution
unzip: Heap-based buffer overflow in fileio.c:UzpPassword function allows code execution
A heap-based buffer overflow exists in Info-Zip UnZip version <= 6.00 in the processing of password-protected archives that allows an attacker to perform a denial of service or to possibly achieve code execution.
Statement: This issue affects the versions of unzip as shipped with Red Hat Enterprise Linux 5, 6 and 7. Red Hat Product Security has rated this issue as having Low security impact. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Package: unzip (Red Hat Enterprise Linux 5) - Will not fix
Package: unzip (Red Hat Enterprise Linux 6) - Will not fix
Package: unzip (Red H
Debian
CVE-2018-1000035: unzip - A heap-based buffer overflow exists in Info-Zip UnZip version <= 6.00 in the pro...
vendor_debian·2018·CVSS 7.8
CVE-2018-1000035 [HIGH] CVE-2018-1000035: unzip - A heap-based buffer overflow exists in Info-Zip UnZip version <= 6.00 in the pro...
A heap-based buffer overflow exists in Info-Zip UnZip version <= 6.00 in the processing of password-protected archives that allows an attacker to perform a denial of service or to possibly achieve code execution.
Scope: local
bookworm: resolved (fixed in 6.0-22)
bullseye: resolved (fixed in 6.0-22)
forky: resolved (fixed in 6.0-22)
sid: resolved (fixed in 6.0-22)
trixie: resolved (fixed in 6.0-22)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-1000031 CVE-2018-1000032 CVE-2018-1000033 CVE-2018-1000035 unzip: various flaws [fedora-all]
bugzilla·2018-02-08·CVSS 7.8
CVE-2018-1000031 [HIGH] CVE-2018-1000031 CVE-2018-1000032 CVE-2018-1000033 CVE-2018-1000035 unzip: various flaws [fedora-all]
CVE-2018-1000031 CVE-2018-1000032 CVE-2018-1000033 CVE-2018-1000035 unzip: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects mul
Bugzilla
CVE-2018-1000035 unzip: Heap-based buffer overflow in fileio.c:UzpPassword function allows code execution
bugzilla·2018-01-22·CVSS 7.8
CVE-2018-1000035 [HIGH] CVE-2018-1000035 unzip: Heap-based buffer overflow in fileio.c:UzpPassword function allows code execution
CVE-2018-1000035 unzip: Heap-based buffer overflow in fileio.c:UzpPassword function allows code execution
Heap-based buffer overflow vulnerability in UzpPassword function was found, possibly allowing arbitrary code execution when uncompressing specially crafted password protected ZIP archives.
Vulnerable code:
[1591] if ((prompt = (char *)malloc(2*FILNAMSIZ + 15)) != (char *)NULL) {
[1592] sprintf(prompt, LoadFarString(PasswPrompt),
[1593] FnFilter1(zfn), FnFilter2(efn));
...
[1595] }
The buffer can be overrun since the attacker can arbitrarily choose name for files residing inside archive file.
Discussion:
Acknowledgments:
Name: R. Freingruber (SEC Consult Vulnerability Lab)
---
Statement:
This issue affects the versions of unzip as shipped with Red Hat Enterprise Linux 5, 6 and
https://lists.debian.org/debian-lts-announce/2020/01/msg00026.htmlhttps://sec-consult.com/en/blog/advisories/multiple-vulnerabilities-in-infozip-unzip/index.htmlhttps://security.gentoo.org/glsa/202003-58https://lists.debian.org/debian-lts-announce/2020/01/msg00026.htmlhttps://sec-consult.com/en/blog/advisories/multiple-vulnerabilities-in-infozip-unzip/index.htmlhttps://security.gentoo.org/glsa/202003-58
2018-02-09
Published