CVE-2020-10938
published 2020-03-24CVE-2020-10938: GraphicsMagick before 1.3.35 has an integer overflow and resultant heap-based buffer overflow in HuffmanDecodeImage in magick/compress.c.
PriorityP349critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
5.23%
91.6th percentile
GraphicsMagick before 1.3.35 has an integer overflow and resultant heap-based buffer overflow in HuffmanDecodeImage in magick/compress.c.
Affected
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | graphicsmagick | < graphicsmagick 1.4+really1.3.34-1 (bookworm) | graphicsmagick 1.4+really1.3.34-1 (bookworm) |
| graphicsmagick | graphicsmagick | < 1.3.35 | 1.3.35 |
| graphicsmagick | graphicsmagick | >= 0 < 1.4+really1.3.34-1 | 1.4+really1.3.34-1 |
| graphicsmagick | graphicsmagick | >= 0 < 1.4+really1.3.34-1 | 1.4+really1.3.34-1 |
| graphicsmagick | graphicsmagick | >= 0 < 1.4+really1.3.34-1 | 1.4+really1.3.34-1 |
| graphicsmagick | graphicsmagick | >= 0 < 1.4+really1.3.34-1 | 1.4+really1.3.34-1 |
| graphicsmagick | graphicsmagick | >= 0 < 1.3.18-1ubuntu3.1+esm7 | 1.3.18-1ubuntu3.1+esm7 |
| graphicsmagick | graphicsmagick | >= 0 < 1.3.23-1ubuntu0.6+esm1 | 1.3.23-1ubuntu0.6+esm1 |
| graphicsmagick | graphicsmagick | >= 0 < 1.3.28-2ubuntu0.1+esm1 | 1.3.28-2ubuntu0.1+esm1 |
| graphicsmagick | graphicsmagick | >= 0 < 1.4+really1.3.35-1ubuntu0.1~esm1 | 1.4+really1.3.35-1ubuntu0.1~esm1 |
| opensuse | backports | — | — |
| opensuse | leap | — | — |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/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
vendor_ubuntu6.5MEDIUM
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.
OSV
graphicsmagick vulnerabilities
osv·2022-08-30·CVSS 6.5
CVE-2019-12921 [MEDIUM] graphicsmagick vulnerabilities
graphicsmagick vulnerabilities
It was discovered that GraphicsMagick allowed reading arbitrary files via
specially crafted images. An attacker could use this issue to expose sensitive
information. This issue only affects Ubuntu 14.04 ESM, Ubuntu 16.04 ESM, and
Ubuntu 18.04 ESM. (CVE-2019-12921)
It was discovered that GraphicsMagick did not correctly handle memory
allocations for error messages. An attacker could use this issue to corrupt
memory or possibly execute arbitrary code. This issue only affects Ubuntu 14.04
ESM, Ubuntu 16.04 ESM, and Ubuntu 18.04 ESM. (CVE-2019-19950)
It was discovered that GraphicsMagick did not correctly handle type limits.
An attacker could use these issues to cause heap-based buffer overflows,
leading to a denial of service (application crash) or possibly e
GHSA
GHSA-83jj-67jw-3xvv: GraphicsMagick before 1
ghsa_unreviewed·2022-05-24
CVE-2020-10938 [HIGH] CWE-190 GHSA-83jj-67jw-3xvv: GraphicsMagick before 1
GraphicsMagick before 1.3.35 has an integer overflow and resultant heap-based buffer overflow in HuffmanDecodeImage in magick/compress.c.
OSV
CVE-2020-10938: GraphicsMagick before 1
osv·2020-03-24·CVSS 9.8
CVE-2020-10938 [CRITICAL] CVE-2020-10938: GraphicsMagick before 1
GraphicsMagick before 1.3.35 has an integer overflow and resultant heap-based buffer overflow in HuffmanDecodeImage in magick/compress.c.
Ubuntu
GraphicsMagick vulnerabilities
vendor_ubuntu·2022-08-30·CVSS 6.5
CVE-2019-19953 [MEDIUM] GraphicsMagick vulnerabilities
Title: GraphicsMagick vulnerabilities
Summary: Several security issues were fixed in GraphicsMagick.
It was discovered that GraphicsMagick allowed reading arbitrary files via
specially crafted images. An attacker could use this issue to expose sensitive
information. This issue only affects Ubuntu 14.04 ESM, Ubuntu 16.04 ESM, and
Ubuntu 18.04 ESM. (CVE-2019-12921)
It was discovered that GraphicsMagick did not correctly handle memory
allocations for error messages. An attacker could use this issue to corrupt
memory or possibly execute arbitrary code. This issue only affects Ubuntu 14.04
ESM, Ubuntu 16.04 ESM, and Ubuntu 18.04 ESM. (CVE-2019-19950)
It was discovered that GraphicsMagick did not correctly handle type limits.
An attacker could use these issues to cause heap-based buffer over
Debian
CVE-2020-10938: graphicsmagick - GraphicsMagick before 1.3.35 has an integer overflow and resultant heap-based bu...
vendor_debian·2020·CVSS 9.8
CVE-2020-10938 [CRITICAL] CVE-2020-10938: graphicsmagick - GraphicsMagick before 1.3.35 has an integer overflow and resultant heap-based bu...
GraphicsMagick before 1.3.35 has an integer overflow and resultant heap-based buffer overflow in HuffmanDecodeImage in magick/compress.c.
Scope: local
bookworm: resolved (fixed in 1.4+really1.3.34-1)
bullseye: resolved (fixed in 1.4+really1.3.34-1)
forky: resolved (fixed in 1.4+really1.3.34-1)
sid: resolved (fixed in 1.4+really1.3.34-1)
trixie: resolved (fixed in 1.4+really1.3.34-1)
No detection rules found.
No public exploits indexed.
HackerOne
CVE-2020-10938-buffer overflow/out-of-bounds write in compress.c:HuffmanDecodeImage()
hackerone·2021-08-22·CVSS 9.8
CVE-2020-10938 [CRITICAL] CVE-2020-10938-buffer overflow/out-of-bounds write in compress.c:HuffmanDecodeImage()
CVE-2020-10938-buffer overflow/out-of-bounds write in compress.c:HuffmanDecodeImage()
Hello,
There is an out-of-bounds write that is likely exploitable while performing Huffman decoding of Fax images.
The technical details are as follows.
# Type: integer underflow produces out of bounds heap/etc write
# Platform: 32-bit
# Details:
```
390 MagickExport MagickPassFail HuffmanDecodeImage(Image *image)
391 {
392 const HuffmanTable
393 *entry;
394
[...]
412
413 long
414 count,
415 y;
416
[...]
420 register long
421 i,
422 x;
423
[...]
462 InitializeHashTable(mw_hash,TWTable,MWHashA,MWHashB);
463 InitializeHashTable(mw_hash,MWTable,MWHashA,MWHashB);
464 InitializeHashTable(mw_hash,EXTable,MWHashA,MWHashB);
465 InitializeHashTable(mb_hash,TBTable,MBHashA,MBHashB);
466 InitializeHashTable(mb_h
Bugzilla
CVE-2020-10938 GraphicsMagick: integer overflow and resultant heap-based buffer overflow in HuffmanDecodeImage in magick/compress.c [epel-all]
bugzilla·2020-04-29·CVSS 9.8
CVE-2020-10938 [CRITICAL] CVE-2020-10938 GraphicsMagick: integer overflow and resultant heap-based buffer overflow in HuffmanDecodeImage in magick/compress.c [epel-all]
CVE-2020-10938 GraphicsMagick: integer overflow and resultant heap-based buffer overflow in HuffmanDecodeImage in magick/compress.c [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 epel-all.
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-2020-10938 GraphicsMagick: integer overflow and resultant heap-based buffer overflow in HuffmanDecodeImage in magick/compress.c [fedora-all]
bugzilla·2020-04-29·CVSS 9.8
CVE-2020-10938 [CRITICAL] CVE-2020-10938 GraphicsMagick: integer overflow and resultant heap-based buffer overflow in HuffmanDecodeImage in magick/compress.c [fedora-all]
CVE-2020-10938 GraphicsMagick: integer overflow and resultant heap-based buffer overflow in HuffmanDecodeImage in magick/compress.c [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-all.
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 co
Bugzilla
CVE-2020-10938 GraphicsMagick: integer overflow and resultant heap-based buffer overflow in HuffmanDecodeImage in magick/compress.c
bugzilla·2020-04-29·CVSS 9.8
CVE-2020-10938 [CRITICAL] CVE-2020-10938 GraphicsMagick: integer overflow and resultant heap-based buffer overflow in HuffmanDecodeImage in magick/compress.c
CVE-2020-10938 GraphicsMagick: integer overflow and resultant heap-based buffer overflow in HuffmanDecodeImage in magick/compress.c
GraphicsMagick before 1.3.35 has an integer overflow and resultant heap-based buffer overflow in HuffmanDecodeImage in magick/compress.c.
Reference:
https://lists.debian.org/debian-lts-announce/2020/04/msg00007.html
Discussion:
Created GraphicsMagick tracking bugs for this issue:
Affects: epel-all [bug 1829303]
Affects: fedora-all [bug 1829302]
---
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00049.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-03/msg00051.htmlhttps://lists.debian.org/debian-lts-announce/2020/04/msg00007.htmlhttps://sourceforge.net/p/graphicsmagick/code/ci/5b4dd7c6674140a115ec9424c8d19c6a458fac3e/https://www.debian.org/security/2020/dsa-4675http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00049.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-03/msg00051.htmlhttps://lists.debian.org/debian-lts-announce/2020/04/msg00007.htmlhttps://sourceforge.net/p/graphicsmagick/code/ci/5b4dd7c6674140a115ec9424c8d19c6a458fac3e/https://www.debian.org/security/2020/dsa-4675
2020-03-24
Published