CVE-2016-7996: Buffer Overflow

Published Jan 18, 2017
·
Updated

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.

Affected Software

21 affected componentsFixes available
GraphicsMagick Graphicsmagick<=1.3.25
alpine/graphicsmagick<1.3.26-r0
1.3.26-r0
alpine/graphicsmagick<1.3.26-r0
1.3.26-r0
alpine/graphicsmagick<1.3.26-r0
1.3.26-r0
alpine/graphicsmagick<1.3.26-r0
1.3.26-r0
alpine/graphicsmagick<1.3.26-r0
1.3.26-r0
alpine/graphicsmagick<1.3.26-r0
1.3.26-r0
alpine/graphicsmagick<1.3.26-r0
1.3.26-r0
alpine/graphicsmagick<1.3.26-r0
1.3.26-r0
alpine/graphicsmagick<1.3.26-r0
1.3.26-r0
alpine/graphicsmagick<1.3.26-r0
1.3.26-r0
alpine/graphicsmagick<1.3.26-r0
1.3.26-r0
alpine/graphicsmagick<1.3.26-r0
1.3.26-r0
alpine/graphicsmagick<1.3.26-r0
1.3.26-r0
alpine/graphicsmagick<1.3.26-r0
1.3.26-r0
alpine/graphicsmagick<1.3.26-r0
1.3.26-r0
alpine/graphicsmagick<1.3.26-r0
1.3.26-r0
debian/graphicsmagick<1.3.21-2
1.3.21-2
debian/graphicsmagick<1.3.21-2
1.3.21-2
debian/graphicsmagick<1.3.21-2
1.3.21-2
debian/graphicsmagick
1.3.16-1.1+deb7u51.3.20-3+deb8u21.3.21-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade alpine/graphicsmagick to a version that resolves this vulnerability.

    Fixed in 1.3.26-r0
  2. Upgrade

    Upgrade debian/graphicsmagick to a version that resolves this vulnerability.

    Fixed in 1.3.21-2
  3. Upgrade

    Upgrade debian/graphicsmagick to a version that resolves this vulnerability.

    Fixed in 1.3.16-1.1+deb7u5Fixed in 1.3.20-3+deb8u2Fixed in 1.3.21-2

Event History

Jan 18, 2017
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Data Sourced
05:59 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·05:59 PM
DescriptionSeverityAffected Software
May 13, 2026
Updated
via NVD·12:24 AM
Affected Software
Dec 3, 2026
Updated
via OSV·11:30 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2016-7996?

CVE-2016-7996 is classified as a high severity vulnerability due to its potential to allow remote attackers to execute arbitrary code.

2

How do I fix CVE-2016-7996?

To fix CVE-2016-7996, update GraphicsMagick to version 1.3.26 or later.

3

What does CVE-2016-7996 affect?

CVE-2016-7996 affects GraphicsMagick versions 1.3.25 and earlier.

4

What type of vulnerability is CVE-2016-7996?

CVE-2016-7996 is a heap-based buffer overflow vulnerability.

5

Who can be impacted by CVE-2016-7996?

Remote attackers can be impacted by CVE-2016-7996 if they exploit the vulnerability through specially crafted colormaps.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203