Critical Denial of Service Vulnerability in elfutils Package

elfutils Updated 02 Oct 2025

Summary

03/09/2018
N/A
Yes i
Critical
9.8

ALPINE-CVE-2018-16402: libelf/elf_end.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. Affects elfutils versions < 0.174-r0. Fixed in 0.174-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The elfutils package is a collection of utilities for handling ELF (Executable and Linkable Format) files, commonly used in Unix-like operating systems. It provides tools for inspecting and manipulating ELF binaries, making it essential for developers and system administrators. However, a vulnerability has been identified in version 0.173 of elfutils, which can lead to severe security risks.

Vulnerability Detail

The vulnerability, identified as CVE-2018-16402, originates from a flaw in the libelf/elf_end.c file within elfutils version 0.173. This flaw allows remote attackers to exploit the software by causing a denial of service through a double free error, leading to application crashes. The vulnerability can also potentially allow for other unspecified impacts, making it critical for users of the package to address it promptly. The CVSS score for this vulnerability is 9.8, indicating a high severity level.

How To Fix

Minimum fixed version

0.174-r0

This is the first release that contains the fix.

sudo apk add --upgrade elfutils

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can limit access to the elfutils utilities or disable any features that rely on the affected functionality until the package is updated. However, this is not a permanent solution and updating the package is strongly recommended.

Conclusion

The CVE-2018-16402 vulnerability in the elfutils package poses a significant risk, allowing for denial of service attacks and potentially other impacts. Users are strongly advised to update to the patched version 0.174-r0 to ensure their systems remain secure. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.

See every vulnerability recorded for elfutils →

Share this vulnerability

FAQ

CVE-2018-16402 is a vulnerability in the elfutils package that allows remote attackers to cause a denial of service or potentially other impacts due to a double free error.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. You can check your application against this vulnerability using the Vulert playground without any signup.

The primary impact is a denial of service, which can crash applications using elfutils. There may also be other unspecified impacts due to the nature of the vulnerability.

Yes, a patched version of the elfutils package (0.174-r0) is available. Users should update to this version to mitigate the vulnerability.

If immediate updating is not possible, consider limiting access to the elfutils utilities or disabling related features until the update can be applied.

Related vulnerabilities

Recent vulnerabilities recorded for elfutils.

How To Fix

Minimum fixed version

0.174-r0

This is the first release that contains the fix.

sudo apk add --upgrade elfutils

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback