CVE-2018-16402: Double Free

Published Sep 3, 2018
·
Updated

Elfutils through version 0.173 is vulnerable to a double-free in the libelf/elfend.c:elfend() function due to the decompression of section data multiple times.. An attacker could exploit this to cause a crash or possibly have unspecified other impact via a crafted ELF.

Upstream Bug:

https://sourceware.org/bugzilla/showbug.cgi?id=23528

Upstream Patch:

https://sourceware.org/git/?p=elfutils.git;a=patch;h=56b18521fb8d46d40fc090c0de9d11a08bc982fa

Other sources

libelf/elfend.c in elfutils 0.173 allows remote attackers to cause a denial of service (double free and application crash) or possibly have unspecified other impact because it tries to decompress twice.

Launchpad

Affected Software

11 affected componentsFixes available
Elfutils Project Elfutils=0.173
Debian Debian Linux=9.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Workstation=7.0
openSUSE Leap=15.0
openSUSE Leap=15.1
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=18.10
debian/elfutils
0.183-10.188-2.10.192-40.194-1

Event History

Sep 3, 2018
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
Sep 4, 2018
Data Sourced
via Red Hat·04:26 AM
DescriptionSeverityAffected Software
Feb 20, 2026
Data Sourced
via Ubuntu·05:30 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·05:31 PM
Description
Data Sourced
via Debian·05:31 PM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2018-16402?

CVE-2018-16402 has a medium severity rating due to the potential for a crash or other unspecified impacts.

2

How do I fix CVE-2018-16402?

To fix CVE-2018-16402, upgrade to elfutils version 0.183-1 or later.

3

Which software versions are affected by CVE-2018-16402?

CVE-2018-16402 affects elfutils through version 0.173.

4

Can CVE-2018-16402 be exploited remotely?

CVE-2018-16402 could potentially be exploited via crafted ELF files, which may be processed by vulnerable systems.

5

What systems are vulnerable to CVE-2018-16402?

Vulnerable systems include Debian 9.0, Red Hat Enterprise Linux 7.0, openSUSE Leap 15.0 and 15.1, and Ubuntu 16.04, 18.04, and 18.10.

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