Critical Vulnerability in Binutils: NULL Pointer Dereference in ELF Processing

binutils Updated 03 Oct 2025

Summary

23/10/2018
N/A
No i
Medium
5.5

UBUNTU-CVE-2018-18607: An issue was discovered in elf_link_input_bfd in elflink.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.31. Affects binutils versions 2.23.52.20130913-0ubuntu1 – 2.24-5ubuntu3.1. No fix is published. 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

Binutils is a collection of binary tools essential for managing binary files, object files, and executable files in Unix-like operating systems. It includes tools such as 'as' (the assembler), 'ld' (the linker), and 'objdump' (for displaying information from object files). The package is widely used for compiling and linking programs, making it a critical component for developers and system administrators. The vulnerability in question affects the Binary File Descriptor (BFD) library within Binutils, specifically in the handling of ELF (Executable and Linkable Format) files.

Vulnerability Detail

An issue was discovered in the elf_link_input_bfd function in elflink.c of the Binary File Descriptor (BFD) library, as distributed in GNU Binutils version 2.31. This vulnerability arises from a NULL pointer dereference when the function attempts to find STT_TLS symbols without any TLS section present. This flaw can be exploited by remote attackers to cause a denial of service, potentially leading to application crashes. The vulnerability is classified with a CVSS score of 5.5, indicating a moderate severity level.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can avoid processing ELF files that may be crafted to exploit this vulnerability. Additionally, ensuring that the application does not handle untrusted ELF files can mitigate the risk until the package is updated.

Conclusion

The vulnerability in Binutils poses a significant risk due to its potential to cause denial of service through a NULL pointer dereference. Users are advised to update their packages to the latest version to mitigate this risk. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for binutils →

Share this vulnerability

FAQ

The vulnerability is a NULL pointer dereference in the elf_link_input_bfd function, which can lead to denial of service.

The vulnerability affects Binutils versions prior to the patched version 2.30-21ubuntu1~18.04.3.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.

As a workaround, avoid processing untrusted ELF files and ensure your application does not handle potentially malicious inputs.

The CVSS score for this vulnerability is 5.5, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for binutils.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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