Integer Overflow and Application Crash in GNU Binutils 2.30

binutils Updated 02 Oct 2025

Summary

02/03/2018
N/A
Yes i
High
7.8

CVE-2018-7643: The display_debug_ranges function in dwarf.c in GNU Binutils 2.30 allows remote attackers to cause a denial of service (integer overflow and application crash) or possibly have unspecified other impact via a crafted ELF... Affects binutils across 2 version ranges.

< 2.30-r2 < 8db5daf9efe8a6174d3b10ac7bba8c178836e9ce

Fixed in 2.30-r2. 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

GNU Binutils is a collection of binary tools used for creating, modifying, and analyzing object files. It includes utilities like objdump, which is used to display information about object files. The version 2.30 of GNU Binutils is affected by a vulnerability that can lead to an integer overflow and application crash when processing a specially crafted ELF file.

Vulnerability Detail

The vulnerability, identified as CVE-2018-7643, originates from the display_debug_ranges function in dwarf.c file of GNU Binutils. By exploiting this vulnerability, remote attackers can cause a denial of service by triggering an integer overflow and crashing the application. The impact of this vulnerability may extend beyond a simple crash, potentially leading to other unspecified consequences.

How To Fix

Minimum fixed version

2.30-r2

This is the first release that contains the fix.

sudo apk add --upgrade binutils

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

Workaround

No workaround has been provided for this vulnerability.

Conclusion

The vulnerability in GNU Binutils 2.30 can result in an integer overflow and application crash. It is crucial to update the affected package to a fixed version to mitigate the risk. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for binutils →

Share this vulnerability

FAQ

GNU Binutils is a collection of binary tools used for creating, modifying, and analyzing object files. It includes utilities like objdump, which is used to display information about object files.

The vulnerability can lead to a denial of service by causing an integer overflow and application crash. It may also have other unspecified impacts.

To fix this vulnerability in Alpine Linux, update the binutils package to version 2.30-r2 (for Alpine:v3.7) or 2.30-r6 (for Alpine:v3.8).

Other Linux distributions may also be affected if they are using GNU Binutils version 2.30. It is recommended to check the respective package repositories for the fixed version.

No workaround has been provided for this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for binutils.

How To Fix

Minimum fixed version

2.30-r2

This is the first release that contains the fix.

sudo apk add --upgrade binutils

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