Denial of Service Vulnerability in elfutils: Heap-based Buffer Over-read

elfutils Updated 02 Oct 2025

Summary

09/04/2017
N/A
Yes i
Medium
5.5

ALPINE-CVE-2017-7607: The handle_gnu_hash function in readelf.c in elfutils 0.168 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted ELF file. Affects elfutils versions < 0.168-r1. Fixed in 0.168-r1. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

elfutils is a collection of utilities for handling ELF (Executable and Linkable Format) files, primarily used in Unix-like operating systems. It provides tools for examining and manipulating ELF files, which are crucial for executable binaries and shared libraries. The package is widely utilized in various applications, making its security paramount. The vulnerability in question affects multiple versions of elfutils across various Alpine Linux releases.

Vulnerability Detail

The vulnerability identified as CVE-2017-7607 arises from the handle_gnu_hash function in readelf.c within elfutils version 0.168. This flaw allows remote attackers to exploit crafted ELF files, leading to a denial of service through heap-based buffer over-reads, ultimately causing the application to crash. The vulnerability's CVSS score is 5.5, indicating a moderate severity level that could impact system stability and availability.

How To Fix

Minimum fixed version

0.168-r1

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 measure, avoid processing untrusted ELF files until the package is updated. This can help mitigate the risk of exploitation while waiting for a patch.

Conclusion

The CVE-2017-7607 vulnerability in elfutils poses a significant risk of denial of service through crafted ELF files. It is crucial for users of affected versions to update to the patched version 0.168-r1 to ensure system stability and security. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.

See every vulnerability recorded for elfutils →

Share this vulnerability

FAQ

CVE-2017-7607 is a vulnerability in elfutils that allows remote attackers to cause a denial of service through crafted ELF files.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The vulnerability has a CVSS score of 5.5, indicating a moderate risk level that could lead to application crashes.

If immediate updates are not possible, refrain from using untrusted ELF files to minimize the risk of exploitation.

For more information on open-source vulnerabilities, you can visit Vulert at https://vulert.com, which monitors and alerts for vulnerabilities in real-time.

Related vulnerabilities

Recent vulnerabilities recorded for elfutils.

How To Fix

Minimum fixed version

0.168-r1

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