Heap-Based Buffer Over-Read in Binutils: CVE-2019-12972 Vulnerability

binutils Updated 03 Oct 2025

Summary

26/06/2019
N/A
No i
Medium
5.5

UBUNTU-CVE-2019-12972: An issue was discovered in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.32. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Binutils is a collection of binary tools that are essential for the development and management of binary files in various programming environments. It includes tools for assembling, linking, and manipulating binary files, making it a critical component for developers working with low-level programming languages. The vulnerability CVE-2019-12972 affects the Binary File Descriptor (BFD) library within Binutils, specifically in how it handles certain ELF sections, potentially leading to security risks.

Vulnerability Detail

The vulnerability arises from a heap-based buffer over-read in the BFD library, specifically in the function _bfd_doprnt. This issue occurs due to improper handling of the e_shstrndx section of type SHT_GROUP, where a trailing '\0' character is omitted. As a result, an attacker could exploit this flaw to read sensitive information from memory, leading to potential data leaks or other malicious activities. The vulnerability has 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 measure, users can avoid using the affected features of the Binutils package until the update is applied. It is advisable to monitor the system for any unusual behavior that may indicate exploitation attempts.

Conclusion

The CVE-2019-12972 vulnerability in the Binutils package poses a moderate risk due to a heap-based buffer over-read issue. Users are encouraged to update their Binutils installation to the latest patched version to mitigate potential security threats. Utilizing tools like Vulert can further enhance security by providing real-time vulnerability alerts.

See every vulnerability recorded for binutils →

Share this vulnerability

FAQ

CVE-2019-12972 is a vulnerability in the Binutils package that allows for a heap-based buffer over-read, potentially leading to information disclosure.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The vulnerability could lead to unauthorized access to sensitive information in memory, which may be exploited by attackers for malicious purposes.

Yes, a patched version of Binutils is available. Users should update to version 2.30-21ubuntu1~18.04.3 or higher.

Vulert is a tool that monitors and alerts users in real-time for open-source vulnerabilities in software using a manifest file like package-lock.json. It helps developers maintain secure applications.

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