Segmentation Fault Vulnerability in elfutils Package: CVE-2019-7664

elfutils Updated 02 Oct 2025

Summary

09/02/2019
N/A
Yes i
Medium
5.5

ALPINE-CVE-2019-7664: In elfutils 0.175, a negative-sized memcpy is attempted in elf_cvt_note in libelf/note_xlate.h because of an incorrect overflow check. Affects elfutils versions < 0.176-r0. Fixed in 0.176-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, which are essential for debugging and profiling applications. The package is widely utilized in various software development environments, making its security critical. The vulnerability in question arises from an incorrect overflow check in the elf_cvt_note function, leading to potential crashes.

Vulnerability Detail

In elfutils version 0.175, a negative-sized memcpy is attempted in the elf_cvt_note function due to an incorrect overflow check. This vulnerability allows crafted ELF input to cause a segmentation fault, resulting in a denial of service (program crash). The issue can be exploited by attackers to disrupt services that rely on the elfutils package, potentially affecting system stability and availability.

How To Fix

Minimum fixed version

0.176-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, avoid processing untrusted ELF files until the package is updated. Implement input validation to ensure that only safe and verified ELF files are handled by the application.

Conclusion

The CVE-2019-7664 vulnerability in the elfutils package poses a risk of denial of service due to a segmentation fault caused by an incorrect overflow check. It is crucial to update the package to version 0.176-r0 or later to mitigate this risk. Users should also consider using Vulert to monitor their applications for vulnerabilities.

See every vulnerability recorded for elfutils →

Share this vulnerability

FAQ

CVE-2019-7664 is a vulnerability in the elfutils package that can lead to a segmentation fault and denial of service due to an incorrect overflow check.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring signup.

The CVSS score of CVE-2019-7664 is 5.5, indicating a moderate severity level.

The vulnerability can lead to application crashes, causing denial of service and potentially affecting system stability.

Yes, a patch is available in version 0.176-r0 of the elfutils package. Updating to this version will resolve the vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for elfutils.

How To Fix

Minimum fixed version

0.176-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