CVE-2014-8140: Buffer Overflow

Published Dec 16, 2014
·
Updated

Heap-based buffer overflow in the testcompreb 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.

Other sources

oCERT reports an unzip flaw discovered by Michele Spagnuolo, Google Security Team:

""" The write error shows a problem in extract.c:testcompreb(), which was not expecting an uncompressed size of zero for an EFNTSD extra block.

Proposed changes:

http://antinode.info/ftp/info-zip/unzip60/extract.c

extract.c:testcompreb() gets a new validity test. """

Acknowledgement:

Red Hat would like to thank oCERT for reporting these issues. oCERT acknowledges Michele Spagnuolo of the Google Security Team as the original reporter.

Red Hat

Affected Software

38 affected componentsFixes available
Unzip Project Unzip<=6.0
redhat Enterprise Linux Desktop=6.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=6.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Aus=6.6
redhat Enterprise Linux Server Aus=7.3
redhat Enterprise Linux Server Aus=7.4
redhat Enterprise Linux Server Aus=7.6
redhat Enterprise Linux Server Aus=7.7
redhat Enterprise Linux Server Eus=6.6
redhat Enterprise Linux Server Eus=7.1
redhat Enterprise Linux Server Eus=7.2
redhat Enterprise Linux Server Eus=7.3
redhat Enterprise Linux Server Eus=7.4
redhat Enterprise Linux Server Eus=7.5
redhat Enterprise Linux Server Eus=7.6
redhat Enterprise Linux Server Eus=7.7
redhat Enterprise Linux Server Tus=6.6
redhat Enterprise Linux Server Tus=7.3
redhat Enterprise Linux Server Tus=7.6
redhat Enterprise Linux Server Tus=7.7
redhat Enterprise Linux Workstation=6.0
redhat Enterprise Linux Workstation=7.0
Microsoft cm1 unzip 6.0-16
Microsoft cbl2 unzip 6.0-19
Microsoft unzip-6.0-20.azl3.x86_64.rpm
Microsoft unzip-6.0-20.azl3.aarch64.rpm
Microsoft azl3 unzip 6.0-22
Microsoft unzip-debuginfo-6.0-19.cm2.x86_64.rpm
Microsoft unzip-6.0-19.cm2.aarch64.rpm
Microsoft unzip-debuginfo-6.0-19.cm2.aarch64.rpm
Microsoft azl3 unzip 6.0-20
Microsoft unzip-6.0-19.cm2.x86_64.rpm
Microsoft unzip-6.0-16.cm1.x86_64.rpm
Microsoft unzip-debuginfo-6.0-16.cm1.aarch64.rpm
Microsoft unzip-6.0-16.cm1.aarch64.rpm
Microsoft unzip-debuginfo-6.0-16.cm1.x86_64.rpm

Event History

Dec 16, 2014
Data Sourced
via Red Hat·03:35 PM
DescriptionSeverityAffected Software
Jan 31, 2020
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
DescriptionWeakness
Aug 18, 2020
Data Sourced
via Microsoft·12:00 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·12:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
SeverityAffected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is CVE-2014-8140?

CVE-2014-8140 is a heap-based buffer overflow vulnerability in Info-ZIP UnZip 6.0 and earlier.

2

What is the severity of CVE-2014-8140?

The severity of CVE-2014-8140 is high with a CVSS score of 7.8.

3

How does CVE-2014-8140 allow attackers to execute arbitrary code?

CVE-2014-8140 allows remote attackers to execute arbitrary code by exploiting the buffer overflow through a crafted zip file in the -t command argument to the unzip command.

4

Which versions of UnZip are affected by CVE-2014-8140?

UnZip 6.0 and earlier versions are affected by CVE-2014-8140.

5

Where can I find more information about CVE-2014-8140?

You can find more information about CVE-2014-8140 in the following references: [ocert.org](http://www.ocert.org/advisories/ocert-2014-011.html), [securitytracker.com](http://www.securitytracker.com/id/1031433), [access.redhat.com](https://access.redhat.com/errata/RHSA-2015:0700).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203