Skip to content
Fencer Intel
critical 9.8

CVE-2016-7996 json

Heap-based buffer overflow in the WPG format reader in GraphicsMagick 1.3.25 and earlier allows remote attackers to have unspecified impact…

published 2017-01-18 9 y ago modified 2026-06-17 4 mo ago also EUVD-2016-8844

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

Summary

Heap-based buffer overflow in the WPG format reader in GraphicsMagick 1.3.25 and earlier allows remote attackers to have unspecified impact via a colormap with a large number of entries.

Patch / fix

  • graphicsmagick Debian 14, Debian 13, Debian 12 1.3.21-2

debian advisories DEBIAN-CVE-2016-7996

  • graphicsmagick Ubuntu 14.04 LTS 1.3.18-1ubuntu3.1
  • graphicsmagick Ubuntu 16.04 LTS 1.3.23-1ubuntu0.1

ubuntu advisories UBUNTU-CVE-2016-7996

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

  • GraphicsMagick Studio Onsite 1.3, SLE Software Development Kit 11 SP4 1.2.5-4.78.19.1
  • ImageMagick SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 6.4.3.6-7.54.1
  • GraphicsMagick Studio Onsite 1.3, SLE Software Development Kit 11 SP4 1.2.5-4.46.1
  • ImageMagick SLES for SAP 12 SP1, SLES 12 SP1, SLED 12 SP1 +2 more 6.8.8.1-40.1

suse advisories SUSE-SU-2017:3435-1SUSE-SU-2016:2964-1SUSE-SU-2016:2724-1SUSE-SU-2016:2667-1

  • GraphicsMagick openSUSE Tumbleweed 1.3.36-1.7

opensuse advisories openSUSE-SU-2024:10596-1

  • graphicsmagick Alpine 3.24, Alpine 3.23, Alpine 3.22 +12 more 1.3.26-r0

alpine advisories ALPINE-CVE-2016-7996

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org 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-7996 updated

GraphicsMagick: WPG Reader Issues

  • Red Hat All currently supported Red Hat products
    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

3.91% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

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

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Sources

Fencer Intel 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.