Skip to content
Fencer Vulns
high 7.8

CVE-2016-2226 json

Integer overflow in the string_appends function in cplus-dem.c in libiberty allows remote attackers to execute arbitrary code via a crafted…

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

cvss
7.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
7.2%
EPSS 7.2% chance of exploitation in 30 days, percentile 94%
public exploits
1
Exploit-DB

Summary

Integer overflow in the string_appends function in cplus-dem.c in libiberty allows remote attackers to execute arbitrary code via a crafted executable, which triggers a buffer overflow.

Patch / fix

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

debian advisories DEBIAN-CVE-2016-2226

  • 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-2226

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

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-2226 updated cvss 3.3

gcc: Exploitable buffer overflow

  • Red Hat Enterprise Linux 5 gcc, gdb, binutils, compat-gcc-32, compat-gcc-34, compat-gcc-295, +1 more Red Hat Enterprise Linux 6 cpp, gcc, gdb, libgcc, libgcj, libitm, +26 more Red Hat Enterprise Linux 7 cpp, gcc, gdb, libgo, gcc-go, libgcc, +22 more
    affected: no fix planned “Will not fix”

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

Timeline

  1. Published
  2. First public exploit (EDB-42386)

Exploit prediction

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

Exploits and checks

  • EDB-42386 GNU libiberty - Buffer Overflow dos, 2017-07-27

CVSS scores

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

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
  • CWE-190 Integer Overflow or Wraparound

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.