CVE-2016-7996
published 2017-01-18CVE-2016-7996: 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…
PriorityP350critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EPSS
3.91%
89.1th percentile
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
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | graphicsmagick | < graphicsmagick 1.3.21-2 (bookworm) | graphicsmagick 1.3.21-2 (bookworm) |
| graphicsmagick | graphicsmagick | <= 1.3.25 | — |
| graphicsmagick | graphicsmagick | >= 0 < 1.3.21-2 | 1.3.21-2 |
| graphicsmagick | graphicsmagick | >= 0 < 1.3.21-2 | 1.3.21-2 |
| graphicsmagick | graphicsmagick | >= 0 < 1.3.21-2 | 1.3.21-2 |
| graphicsmagick | graphicsmagick | >= 0 < 1.3.21-2 | 1.3.21-2 |
CVSS provenance
nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Debian
CVE-2016-7996: graphicsmagick - Heap-based buffer overflow in the WPG format reader in GraphicsMagick 1.3.25 and...
vendor_debian·2016·CVSS 9.8
CVE-2016-7996 [CRITICAL] CVE-2016-7996: graphicsmagick - Heap-based buffer overflow in the WPG format reader in GraphicsMagick 1.3.25 and...
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.
Scope: local
bookworm: resolved (fixed in 1.3.21-2)
bullseye: resolved (fixed in 1.3.21-2)
forky: resolved (fixed in 1.3.21-2)
sid: resolved (fixed in 1.3.21-2)
trixie: resolved (fixed in 1.3.21-2)
GHSA
GHSA-vphw-m7v9-5929: Heap-based buffer overflow in the WPG format reader in GraphicsMagick 1
ghsa_unreviewed·2022-05-17
CVE-2016-7996 [CRITICAL] CWE-119 GHSA-vphw-m7v9-5929: Heap-based buffer overflow in the WPG format reader in GraphicsMagick 1
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.
OSV
CVE-2016-7996: Heap-based buffer overflow in the WPG format reader in GraphicsMagick 1
osv·2017-01-18·CVSS 9.8
CVE-2016-7996 [CRITICAL] CVE-2016-7996: Heap-based buffer overflow in the WPG format reader in GraphicsMagick 1
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2016-7800 CVE-2016-7996 CVE-2016-7997 CVE-2016-8682 CVE-2016-8683 CVE-2016-8684 CVE-2016-9830 GraphicsMagick: various flaws [epel-all]
bugzilla·2016-10-10·CVSS 7.5
CVE-2016-7800 [HIGH] CVE-2016-7800 CVE-2016-7996 CVE-2016-7997 CVE-2016-8682 CVE-2016-8683 CVE-2016-8684 CVE-2016-9830 GraphicsMagick: various flaws [epel-all]
CVE-2016-7800 CVE-2016-7996 CVE-2016-7997 CVE-2016-8682 CVE-2016-8683 CVE-2016-8684 CVE-2016-9830 GraphicsMagick: various flaws [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora EPEL.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit
Bugzilla
CVE-2016-7996 CVE-2016-7997 GraphicsMagick: WPG Reader Issues
bugzilla·2016-10-10·CVSS 9.8
CVE-2016-7996 [CRITICAL] CVE-2016-7996 CVE-2016-7997 GraphicsMagick: WPG Reader Issues
CVE-2016-7996 CVE-2016-7997 GraphicsMagick: WPG Reader Issues
Two security issues have been discovered in the WPG format reader in
GraphicsMagick 1.3.25 (and earlier):
1. CVE-2016-7996
In a build with QuantumDepth=8 (the default), there is no check
that the provided colormap is not larger than 256 entries,
resulting in potential heap overflow. This problem does not occur
with larger QuantumDepth values.
2. CVE-2016-7997
The assertion:
ReferenceBlob: Assertion `blob != (BlobInfo *) NULL' failed.
is thrown (causing a crash) for some files due to a logic error
which leads to passing a NULL pointer where a NULL pointer is not
allowed.
References (patch attached):
http://seclists.org/oss-sec/2016/q4/55
Discussion:
Created GraphicsMagick tracking bugs for this issue:
Affects: fedora-al
Bugzilla
CVE-2016-7800 CVE-2016-7996 CVE-2016-7997 CVE-2016-8682 CVE-2016-8683 CVE-2016-8684 CVE-2016-9830 GraphicsMagick: various flaws [fedora-all]
bugzilla·2016-10-10·CVSS 7.5
CVE-2016-7800 [HIGH] CVE-2016-7800 CVE-2016-7996 CVE-2016-7997 CVE-2016-8682 CVE-2016-8683 CVE-2016-8684 CVE-2016-9830 GraphicsMagick: various flaws [fedora-all]
CVE-2016-7800 CVE-2016-7996 CVE-2016-7997 CVE-2016-8682 CVE-2016-8683 CVE-2016-8684 CVE-2016-9830 GraphicsMagick: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit mes
http://www.debian.org/security/2016/dsa-3746http://www.openwall.com/lists/oss-security/2016/10/07/4http://www.openwall.com/lists/oss-security/2016/10/08/5http://www.securityfocus.com/bid/93464http://www.debian.org/security/2016/dsa-3746http://www.openwall.com/lists/oss-security/2016/10/07/4http://www.openwall.com/lists/oss-security/2016/10/08/5http://www.securityfocus.com/bid/93464
2017-01-18
Published