Skip to content
Fencer Vulns
high 7.5

CVE-2016-6131 json

The demangler in GNU Libiberty allows remote attackers to cause a denial of service (infinite loop, stack overflow, and crash) via a cycle…

published 2017-02-07 9 y ago modified 2026-06-17 4 mo ago also EUVD-2016-7065

cvss
7.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
4.6%
EPSS 4.6% chance of exploitation in 30 days, percentile 91%
public exploits
0
none known

Summary

The demangler in GNU Libiberty allows remote attackers to cause a denial of service (infinite loop, stack overflow, and crash) via a cycle in the references of remembered mangled types.

Patch / fix

  • ht Debian 14, Debian 13, Debian 12 2.1.0+repack1-2
  • binutils Debian 14, Debian 13, Debian 12 2.27.51.20161102-1
  • libiberty Debian 14, Debian 13, Debian 12 20161017-1

debian advisories DEBIAN-CVE-2016-6131

  • gdb Ubuntu 14.04 LTS 7.7.1-0ubuntu5~14.04.3
  • gdb Ubuntu 16.04 LTS 7.11.1-0ubuntu1~16.5
  • valgrind Ubuntu 14.04 LTS 1:3.10.1-1ubuntu3~14.5
  • valgrind Ubuntu 16.04 LTS 1:3.11.0-1ubuntu4.2
  • libiberty Ubuntu 14.04 LTS 20131116-1ubuntu0.2
  • libiberty Ubuntu 16.04 LTS 20160215-1ubuntu0.2
  • binutils Ubuntu Pro 16.04 LTS 2.26.1-1ubuntu1~16.04.8+esm1

ubuntu advisories UBUNTU-CVE-2016-6131

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • valgrind openSUSE Tumbleweed 3.19.0-3.1

opensuse advisories openSUSE-SU-2024:12058-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2016-6131 updated cvss 3.3

gcc,gdb,binutils,libitm: Stack overflow vulnerability in libiberty demangler

  • Red Hat Enterprise Linux 5 gcc, gdb, gcc44, binutils, compat-gcc-32, compat-gcc-34, +3 more Red Hat Enterprise Linux 6 cpp, gcc, gdb, libgcc, libgcj, libitm, +31 more Red Hat Enterprise Linux 7 cpp, gcc, gdb, libgo, gcc-go, libgcc, +27 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

4.62% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.0 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

Weakness
  • CWE-20 Improper Input Validation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.