Stack Consumption Vulnerability in GNU Binutils and libiberty Packages

binutils Updated 03 Oct 2025

Summary

24/02/2019
N/A
No i
Medium
5.5

UBUNTU-CVE-2019-9071: An issue was discovered in GNU libiberty, 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 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 essential for managing binary files, including object files, archives, and executable files. It provides functionalities such as linking, assembling, and disassembling. The libiberty library, part of GNU Binutils, offers utility functions for various programming tasks. The vulnerability identified as CVE-2019-9071 affects these packages, allowing for potential stack consumption issues during recursive calls, which can lead to denial of service.

Vulnerability Detail

An issue was discovered in GNU libiberty, as distributed in GNU Binutils 2.32. It is a stack consumption issue in the function d_count_templates_scopes located in cp-demangle.c. This vulnerability can be exploited through crafted input that triggers excessive recursive calls, leading to stack overflow and potential denial of service. 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

If immediate patching is not possible, consider limiting the input size to the affected functions or disabling features that utilize the vulnerable library until an update can be applied.

Conclusion

The CVE-2019-9071 vulnerability in GNU Binutils and libiberty poses a risk of stack consumption leading to denial of service. Users are encouraged to update their packages to the latest versions to mitigate this risk. For those unable to update immediately, workarounds are available to help manage the vulnerability until a fix can be applied.

See every vulnerability recorded for binutils →

Share this vulnerability

FAQ

CVE-2019-9071 is a vulnerability in GNU libiberty that can lead to stack consumption and potential denial of service due to excessive recursive calls.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.

The vulnerability can lead to denial of service, causing applications that rely on the affected packages to crash or become unresponsive.

Yes, patched versions of the affected packages are available. Users should update to the latest versions to mitigate the risk.

If you cannot update immediately, consider implementing input size limitations or disabling features that utilize the vulnerable library until a patch can be applied.

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