CVE-2015-8931: Integer Overflow

Published Jun 22, 2016
·
Updated

Multiple integer overflows in the (1) gettimetmax and (2) gettimetmin functions in archivereadsupportformatmtree.c in libarchive before 3.2.0 allow remote attackers to have unspecified impact via a crafted mtree file, which triggers undefined behavior.

Other sources

Undefined behaviour (signed integer overflow) was discovered in libarchive, in the MTREE parser's calculation of maximum and minimum dates.

Upstream bug: https://github.com/libarchive/libarchive/issues/539

Upstream fix: https://github.com/libarchive/libarchive/commit/b31744d

— Red Hat

Affected Software

12 affected componentsFixes available
Libarchive libarchive<=3.1.901a
SUSE Linux Enterprise Desktop=12-sp1
SUSE Linux Enterprise Server=12-sp1
SUSE Linux Enterprise Software Development Kit=12-sp1
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=15.10
Canonical Ubuntu Linux=16.04
Debian Debian Linux=7.0
Debian Debian Linux=8.0
redhat/libarchive<3.2.0
3.2.0
debian/libarchive
3.0.4-3+wheezy23.1.2-11+deb8u23.2.0-2

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.0
  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.0-2
  3. Upgrade

    Upgrade libarchive to a version that resolves this vulnerability.

    Fixed in 3.2.0

Event History

Jun 22, 2016
Data Sourced
via Red Hat·04:20 AM
DescriptionSeverityAffected Software
Sep 20, 2016
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description
Data Sourced
02:15 PM
DescriptionSeverityWeaknessAffected 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-2015-8931?

CVE-2015-8931 is considered a critical vulnerability due to its potential to trigger undefined behavior in applications using the affected versions of libarchive.

2

How do I fix CVE-2015-8931?

To fix CVE-2015-8931, upgrade libarchive to version 3.2.0 or later, specifically to versions 3.4.3-2+deb11u1, 3.6.2-1+deb12u1, or 3.7.4-1.

3

What type of vulnerability is CVE-2015-8931?

CVE-2015-8931 is an integer overflow vulnerability found in the get_time_t_max and get_time_t_min functions of libarchive.

4

Which software is affected by CVE-2015-8931?

Libarchive versions prior to 3.2.0, including distributions such as various versions of Debian and Ubuntu, are affected by CVE-2015-8931.

5

Can CVE-2015-8931 be exploited remotely?

Yes, CVE-2015-8931 can be exploited remotely through a crafted mtree file, allowing attackers to potentially execute arbitrary code.

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