Every CVE Search/ Get API key

CVE-2014-8140

Heap-based buffer overflow in the test_compr_eb function in Info-ZIP UnZip 6.0 and earlier allows...

7.8 HighFix available

Heap-based buffer overflow in the test_compr_eb function in Info-ZIP UnZip 6.0 and earlier allows remote attackers to execute arbitrary code via a crafted zip file in the -t command argument to the unzip command.

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
High
Integrity
High
Availability
High

Exploit likelihood

7.45%Up 2.6 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.8

Heap-based buffer overflow in the test_compr_eb function in Info-ZIP UnZip 6.0 and earlier allows remote attackers to execute arbitrary code via a crafted zip file in the -t command argument to the unzip command.

Record
CVE-2014-8140
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-787
Updated
2026-11-02
CVE List No score

Heap-based buffer overflow in the test_compr_eb function in Info-ZIP UnZip 6.0 and earlier allows remote attackers to execute arbitrary code via a crafted zip file in the -t command argument to the unzip command.

Record
CVE-2014-8140
Updated
2026-11-02
EUVDEUVD-2014-7983 No score

Heap-based buffer overflow in the test_compr_eb function in Info-ZIP UnZip 6.0 and earlier allows remote attackers to execute arbitrary code via a crafted zip file in the -t command argument to the unzip command.

Record
EUVD-2014-7983
Updated
2026-11-03
GitHub AdvisoriesGHSA-fhf3-rjhh-4c23 7.8

Heap-based buffer overflow in the test_compr_eb function in Info-ZIP UnZip 6.0 and earlier allows...

Heap-based buffer overflow in the test_compr_eb function in Info-ZIP UnZip 6.0 and earlier allows remote attackers to execute arbitrary code via a crafted zip file in the -t command argument to the unzip command.

Record
GHSA-fhf3-rjhh-4c23
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-787
Updated
2026-11-02
OSVALPINE-CVE-2014-8140 7.8

Heap-based buffer overflow in the test_compr_eb function in Info-ZIP UnZip 6.0 and earlier allows remote attackers to execute arbitrary code via a crafted zip file in the -t command argument to the unzip command.

Record
ALPINE-CVE-2014-8140
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVAZL-35332 7.8

CVE-2014-8140 affecting package unzip for versions less than 6.0-20

Heap-based buffer overflow in the test_compr_eb function in Info-ZIP UnZip 6.0 and earlier allows remote attackers to execute arbitrary code via a crafted zip file in the -t command argument to the unzip command.

Record
AZL-35332
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-05
Show 9 moreShow less
OSVAZL-6934 7.8

CVE-2014-8140 affecting package unzip for versions less than 6.0-19

Heap-based buffer overflow in the test_compr_eb function in Info-ZIP UnZip 6.0 and earlier allows remote attackers to execute arbitrary code via a crafted zip file in the -t command argument to the unzip command.

Record
AZL-6934
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVBELL-CVE-2014-8140 7.8

CVE-2014-8140 does not affect BellSoft software

Record
BELL-CVE-2014-8140
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSV 7.8

Heap-based buffer overflow in the test_compr_eb function in Info-ZIP UnZip 6.0 and earlier allows remote attackers to execute arbitrary code via a crafted zip file in the -t command argument to the unzip command.

Record
CVE-2014-8140
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2014-8140 7.8

Heap-based buffer overflow in the test_compr_eb function in Info-ZIP UnZip 6.0 and earlier allows remote attackers to execute arbitrary code via a crafted zip file in the -t command argument to the unzip command.

Record
DEBIAN-CVE-2014-8140
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2014-8140 7.8

Heap-based buffer overflow in the test_compr_eb function in Info-ZIP UnZip 6.0 and earlier allows remote attackers to execute arbitrary code via a crafted zip file in the -t command argument to the unzip command.

Record
UBUNTU-CVE-2014-8140
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2014-0562 No score

Updated unzip package fixes security vulnerabilities

Updated unzip package fix security vulnerabilities:

The unzip command line tool is affected by heap-based buffer overflows within the CRC32 verification (CVE-2014-8139), the test_compr_eb() (CVE-2014-8140) and the getZip64Data() (CVE-2014-8141) functions. The input errors may result in arbitrary code execution. A specially crafted zip file, passed to the command unzip -t, can be used to trigger the vulnerability.

OOB access (both read and write) issues also exist in test_compr_eb() that can result in application crash or other unspecified impact. A specially crafted zip file, passed to the command unzip -t, can be used to trigger the issues.

Record
MGASA-2014-0562
Updated
2026-11-02
OSVopenSUSE-SU-2024:10480-1 No score

unzip-6.00-31.1 on GA media

These are all security issues fixed in the unzip-6.00-31.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10480-1
Updated
2026-11-02
OSVSUSE-SU-2015:0377-1 No score

Security update for unzip

This update fixes the following security issues:

* CVE-2014-8139: input sanitization errors (bnc#909214)
* CVE-2014-9636: out-of-bounds read/write in test_compr_eb()
  (bnc#914442)

Security Issues:

* CVE-2014-9636
  <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-9636>
* CVE-2014-8139
  <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-8139>
Record
SUSE-SU-2015:0377-1
Updated
2026-11-02
OSVUSN-2472-1 No score

unzip vulnerabilities

Wolfgang Ettlinger discovered that unzip incorrectly handled certain malformed zip archives. If a user or automated system were tricked into processing a specially crafted zip archive, an attacker could possibly execute arbitrary code.

Record
USN-2472-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
unzip
Alpine:v3.10
before 6.0-r3
6.0-r3
unzip
Alpine:v3.11
before 6.0-r3
6.0-r3
unzip
Alpine:v3.12
before 6.0-r3
6.0-r3
unzip
Alpine:v3.13
before 6.0-r3
6.0-r3
unzip
Alpine:v3.14
before 6.0-r3
6.0-r3
unzip
Alpine:v3.15
before 6.0-r3
6.0-r3
unzip
Alpine:v3.16
before 6.0-r3
6.0-r3
unzip
Alpine:v3.17
before 6.0-r3
6.0-r3
unzip
Alpine:v3.18
before 6.0-r3
6.0-r3
unzip
Alpine:v3.19
before 6.0-r3
6.0-r3
Show 37 moreShow less
Affected packages
PackageAffectedFixed
unzip
Alpine:v3.20
before 6.0-r3
6.0-r3
unzip
Alpine:v3.21
before 6.0-r3
6.0-r3
unzip
Alpine:v3.22
before 6.0-r3
6.0-r3
unzip
Alpine:v3.23
before 6.0-r3
6.0-r3
unzip
Alpine:v3.24
before 6.0-r3
6.0-r3
unzip
Alpine:v3.5
before 6.0-r3
6.0-r3
unzip
Alpine:v3.6
before 6.0-r3
6.0-r3
unzip
Alpine:v3.7
before 6.0-r3
6.0-r3
unzip
Alpine:v3.8
before 6.0-r3
6.0-r3
unzip
Alpine:v3.9
before 6.0-r3
6.0-r3
unzip
Azure Linux:3
before 6.0-20
6.0-20
unzip
Azure Linux:2
before 6.0-19
6.0-19
unzip
Debian:12
before 6.0-13
6.0-13
unzip
Debian:13
before 6.0-13
6.0-13
unzip
Debian:14
before 6.0-13
6.0-13
unzip
Debian:6.0
From an advisory covering 3 CVEs
before 6.0-4+deb6u1, plus listed versions
6.0-4
6.0-4+deb6u1
unzip
Debian:7
From an advisory covering 3 CVEs
before 6.0-8+deb7u1, plus listed versions
6.0-8
6.0-8+deb7u1
unzip
Mageia:4
From an advisory covering 3 CVEs
before 6.0-7.2.mga4
6.0-7.2.mga4
unzip
Red Hat:enterprise_linux:6::client
From an advisory covering 4 CVEs
before 0:6.0-2.el6_6
0:6.0-2.el6_6
unzip-debuginfo
Red Hat:enterprise_linux:6::client
From an advisory covering 4 CVEs
before 0:6.0-2.el6_6
0:6.0-2.el6_6
unzip
Red Hat:enterprise_linux:6::computenode
From an advisory covering 4 CVEs
before 0:6.0-2.el6_6
0:6.0-2.el6_6
unzip-debuginfo
Red Hat:enterprise_linux:6::computenode
From an advisory covering 4 CVEs
before 0:6.0-2.el6_6
0:6.0-2.el6_6
unzip
Red Hat:enterprise_linux:6::server
From an advisory covering 4 CVEs
before 0:6.0-2.el6_6
0:6.0-2.el6_6
unzip-debuginfo
Red Hat:enterprise_linux:6::server
From an advisory covering 4 CVEs
before 0:6.0-2.el6_6
0:6.0-2.el6_6
unzip
Red Hat:enterprise_linux:6::workstation
From an advisory covering 4 CVEs
before 0:6.0-2.el6_6
0:6.0-2.el6_6
unzip-debuginfo
Red Hat:enterprise_linux:6::workstation
From an advisory covering 4 CVEs
before 0:6.0-2.el6_6
0:6.0-2.el6_6
unzip
Red Hat:enterprise_linux:7::client
From an advisory covering 4 CVEs
before 0:6.0-15.el7
0:6.0-15.el7
unzip-debuginfo
Red Hat:enterprise_linux:7::client
From an advisory covering 4 CVEs
before 0:6.0-15.el7
0:6.0-15.el7
unzip
Red Hat:enterprise_linux:7::computenode
From an advisory covering 4 CVEs
before 0:6.0-15.el7
0:6.0-15.el7
unzip-debuginfo
Red Hat:enterprise_linux:7::computenode
From an advisory covering 4 CVEs
before 0:6.0-15.el7
0:6.0-15.el7
unzip
Red Hat:enterprise_linux:7::server
From an advisory covering 4 CVEs
before 0:6.0-15.ael7b
0:6.0-15.ael7b
unzip-debuginfo
Red Hat:enterprise_linux:7::server
From an advisory covering 4 CVEs
before 0:6.0-15.ael7b
0:6.0-15.ael7b
unzip
Red Hat:enterprise_linux:7::workstation
From an advisory covering 4 CVEs
before 0:6.0-15.el7
0:6.0-15.el7
unzip-debuginfo
Red Hat:enterprise_linux:7::workstation
From an advisory covering 4 CVEs
before 0:6.0-15.el7
0:6.0-15.el7
unzip
Ubuntu:14.04:LTS
before 6.0-9ubuntu1.1, plus listed versions
6.0-9ubuntu1
6.0-9ubuntu1.1
unzip
Ubuntu:14.04:LTS
From an advisory covering 3 CVEs
before 6.0-9ubuntu1.1, plus listed versions
6.0-9ubuntu1
6.0-9ubuntu1.1
unzip
openSUSE:Tumbleweed
From an advisory covering 5 CVEs
before 6.00-31.1
6.00-31.1

History

History
RecordedChangedSources
affected
factsOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2014-8140 is a high vulnerability (CVSS 7.8) in Info-zip Unzip, published December 28, 2014. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 7.45%, the 94th percentile. Fixed in unzip 6.0-r3.

References

Show 35 moreShow less
MoveEnter Open