CVE-2016-5844: Integer Overflow

Published Jun 26, 2016
·
Updated

Hanno Böck has disclosed another Undefined Behaviour (signed integer overflow) on oss-security:

http://seclists.org/oss-sec/2016/q2/591

Upstream ticket:

https://github.com/libarchive/libarchive/issues/717

Upstream fix (released in libarchive-3.2.1):

https://github.com/libarchive/libarchive/commit/3ad08e0

While the UB exists in 3.2.0, an earlier patch seems to mitigate against the issue:

https://github.com/libarchive/libarchive/commit/e6c9668f

This function is called immediately after the overflow, and will immediately reject a negative skipsize with ARCHIVEFATAL, skipping all further processing.

Previous releases up to and including 3.1.2 (including 2.8.3, 2.8.4) do not include the mitigation and are thus likely vulnerable.

Other sources

Integer overflow in the ISO parser in libarchive before 3.2.1 allows remote attackers to cause a denial of service (application crash) via a crafted ISO file.

— MITRE

Affected Software

17 affected componentsFixes available
redhat/libarchive<3.2.1
3.2.1
Libarchive libarchive<=3.2.0
redhat Enterprise Linux Desktop=6.0
redhat Enterprise Linux Hpc Node=6.0
redhat Enterprise Linux Server=6.0
redhat Enterprise Linux Workstation=6.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Hpc Node=7.0
redhat Enterprise Linux Hpc Node Eus=7.2
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Aus=7.2
redhat Enterprise Linux Server Eus=7.2
redhat Enterprise Linux Workstation=7.0
Oracle Linux=6
Oracle Linux=7
Oracle Solaris=11.3
debian/libarchive
3.0.4-3+wheezy23.1.2-11+deb8u23.2.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/libarchive to a version that resolves this vulnerability.

    Fixed in 3.2.1
  2. Upgrade

    Upgrade debian/libarchive to a version that resolves this vulnerability.

    Fixed in 3.0.4-3+wheezy2Fixed in 3.1.2-11+deb8u2Fixed in 3.2.1-1
  3. Upgrade

    Upgrade libarchive/libarchive to a version that resolves this vulnerability.

    Fixed in 3.2.1

Event History

Jun 26, 2016
Data Sourced
11:48 PM
DescriptionSeverityAffected Software
Sep 21, 2016
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description
Data Sourced
02:25 PM
RemedyWeakness
Data Sourced
via NVD·02:25 PM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 29, 2019
Data Sourced
via Red Hat·01:52 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2016-5844?

CVE-2016-5844 is classified as a high severity vulnerability due to the potential for exploitation through signed integer overflow.

2

How do I fix CVE-2016-5844?

To mitigate CVE-2016-5844, update to libarchive version 3.2.1 or later.

3

What software is affected by CVE-2016-5844?

CVE-2016-5844 affects libarchive versions prior to 3.2.1.

4

Can CVE-2016-5844 impact all versions of Red Hat Enterprise Linux?

Yes, CVE-2016-5844 can impact Red Hat Enterprise Linux version 6.0 and 7.0 as well as specific applications built on older versions of libarchive.

5

Is there an exploit available for CVE-2016-5844?

As of now, public details about an exploit specifically targeting CVE-2016-5844 have not been disclosed.

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