Every CVE Search/ Get API key

CVE-2020-10938

GraphicsMagick before 1.3.35 has an integer overflow and resultant heap-based buffer overflow in...

9.8 CriticalFix available

GraphicsMagick before 1.3.35 has an integer overflow and resultant heap-based buffer overflow in HuffmanDecodeImage in magick/compress.c.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

4.66%Up 3.4 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 9.8

GraphicsMagick before 1.3.35 has an integer overflow and resultant heap-based buffer overflow in HuffmanDecodeImage in magick/compress.c.

Record
CVE-2020-10938
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-190, CWE-787
Updated
2026-11-02
CVE List No score

GraphicsMagick before 1.3.35 has an integer overflow and resultant heap-based buffer overflow in HuffmanDecodeImage in magick/compress.c.

Record
CVE-2020-10938
Updated
2026-11-02
EUVDEUVD-2020-3343 No score

GraphicsMagick before 1.3.35 has an integer overflow and resultant heap-based buffer overflow in HuffmanDecodeImage in magick/compress.c.

Record
EUVD-2020-3343
Updated
2026-11-03
GitHub AdvisoriesGHSA-83jj-67jw-3xvv No score

GraphicsMagick before 1.3.35 has an integer overflow and resultant heap-based buffer overflow in...

GraphicsMagick before 1.3.35 has an integer overflow and resultant heap-based buffer overflow in HuffmanDecodeImage in magick/compress.c.

Record
GHSA-83jj-67jw-3xvv
Weakness
CWE-190, CWE-787
Updated
2026-11-02
OSVALPINE-CVE-2020-10938 9.8

GraphicsMagick before 1.3.35 has an integer overflow and resultant heap-based buffer overflow in HuffmanDecodeImage in magick/compress.c.

Record
ALPINE-CVE-2020-10938
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
OSV 9.8

GraphicsMagick before 1.3.35 has an integer overflow and resultant heap-based buffer overflow in HuffmanDecodeImage in magick/compress.c.

Record
CVE-2020-10938
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 5 moreShow less
OSVDEBIAN-CVE-2020-10938 9.8

GraphicsMagick before 1.3.35 has an integer overflow and resultant heap-based buffer overflow in HuffmanDecodeImage in magick/compress.c.

Record
DEBIAN-CVE-2020-10938
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2020-10938 9.8

GraphicsMagick before 1.3.35 has an integer overflow and resultant heap-based buffer overflow in HuffmanDecodeImage in magick/compress.c.

Record
UBUNTU-CVE-2020-10938
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVopenSUSE-SU-2020:0416-1 No score

Security update for GraphicsMagick

This update for GraphicsMagick fixes the following issues:

  • CVE-2019-12921: Fixed an issue where text filename components potentially coulf have allowed reading of arbitrary files via TranslateTextEx (boo#1167208).
  • CVE-2020-10938: Fixed an integer overflow and resultant heap-based buffer overflow in HuffmanDecodeImages (boo#1167623).
Record
openSUSE-SU-2020:0416-1
Updated
2026-11-02
OSVopenSUSE-SU-2020:0429-1 No score

Security update for GraphicsMagick

This update for GraphicsMagick fixes the following issues:

  • CVE-2019-12921: Fixed an issue where text filename components potentially coulf have allowed reading of arbitrary files via TranslateTextEx (boo#1167208).
  • CVE-2020-10938: Fixed an integer overflow and resultant heap-based buffer overflow in HuffmanDecodeImages (boo#1167623).

This update was imported from the openSUSE:Leap:15.1:Update update project.

Record
openSUSE-SU-2020:0429-1
Updated
2026-11-02
OSVUSN-5190-1 No score

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 execute arbitrary code. These issues only affect Ubuntu 14.04 ESM, Ubuntu 16.04 ESM, and Ubuntu 18.04 ESM. (CVE-2019-19951, CVE-2019-19953)

It was discovered that GraphicsMagick did not correctly handle the signed integer limit in 32-bit applications. An attacker could use this issue to cause a heap-based buffer overflow, leading to a denial of service (application crash) or possibly execute arbitrary code. This issue only affects Ubuntu 14.04 ESM, Ubuntu 16.04 ESM, and Ubuntu 18.04 ESM. (CVE-2020-10938)

It was discovered that GraphicsMagick did not properly magnify certain images. An attacker could use this issue to cause a heap-based buffer overflow, leading to a denial of service (application crash) or possibly execute arbitrary code. (CVE-2020-12672)

Record
USN-5190-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
graphicsmagick
Alpine:v3.11
before 1.3.35-r0
1.3.35-r0
graphicsmagick
Alpine:v3.12
before 1.3.35-r0
1.3.35-r0
graphicsmagick
Alpine:v3.13
before 1.3.35-r0
1.3.35-r0
graphicsmagick
Alpine:v3.14
before 1.3.35-r0
1.3.35-r0
graphicsmagick
Alpine:v3.15
before 1.3.35-r0
1.3.35-r0
graphicsmagick
Alpine:v3.16
before 1.3.35-r0
1.3.35-r0
graphicsmagick
Alpine:v3.17
before 1.3.35-r0
1.3.35-r0
graphicsmagick
Alpine:v3.18
before 1.3.35-r0
1.3.35-r0
graphicsmagick
Alpine:v3.19
before 1.3.35-r0
1.3.35-r0
graphicsmagick
Alpine:v3.20
before 1.3.35-r0
1.3.35-r0
Show 19 moreShow less
Affected packages
PackageAffectedFixed
graphicsmagick
Alpine:v3.21
before 1.3.35-r0
1.3.35-r0
graphicsmagick
Alpine:v3.22
before 1.3.35-r0
1.3.35-r0
graphicsmagick
Alpine:v3.23
before 1.3.35-r0
1.3.35-r0
graphicsmagick
Alpine:v3.24
before 1.3.35-r0
1.3.35-r0
graphicsmagick
Debian:12
before 1.4+really1.3.34-1
1.4+really1.3.34-1
graphicsmagick
Debian:13
before 1.4+really1.3.34-1
1.4+really1.3.34-1
graphicsmagick
Debian:14
before 1.4+really1.3.34-1
1.4+really1.3.34-1
graphicsmagick
Debian:8
before 1.3.20-3+deb8u10, plus listed versions
1.3.20-3+deb8u11.3.20-3+deb8u21.3.20-3+deb8u31.3.20-3+deb8u41.3.20-3+deb8u5
Show 4 moreShow less
1.3.20-3+deb8u61.3.20-3+deb8u71.3.20-3+deb8u81.3.20-3+deb8u9
1.3.20-3+deb8u10
graphicsmagick
Debian:9
From an advisory covering 2 CVEs
before 1.3.30+hg15796-1~deb9u4, plus listed versions
1.3.25-81.3.26-11.3.26-101.3.26-111.3.26-12
Show 27 moreShow less
1.3.26-131.3.26-141.3.26-151.3.26-161.3.26-171.3.26-181.3.26-191.3.26-21.3.26-31.3.26-41.3.26-51.3.26-61.3.26-71.3.26-81.3.26-91.3.27-11.3.27-21.3.27-31.3.27-41.3.28-11.3.28-21.3.29+hg15665-11.3.29-11.3.30+hg15796-1~deb9u11.3.30+hg15796-1~deb9u21.3.30+hg15796-1~deb9u31.3.30-1
1.3.30+hg15796-1~deb9u4
graphicsmagick
Debian:10
From an advisory covering 2 CVEs
before 1.4+really1.3.35-1~deb10u1, plus listed versions
1.4+really1.3.32-11.4+really1.3.33+hg16115-11.4+really1.3.33+hg16117-11.4+really1.3.33-11.4+really1.3.34+hg16181-1
Show 6 moreShow less
1.4+really1.3.34+hg16230-11.4+really1.3.34-11.4+really1.3.34-21.4~hg15978-11.4~hg15978-1+deb10u11.4~hg16039-1
1.4+really1.3.35-1~deb10u1
graphicsmagick
Ubuntu:Pro:14.04:LTS
before 1.3.18-1ubuntu3.1+esm7, plus listed versions
1.3.16-1.1ubuntu21.3.16-1.1ubuntu31.3.18-1ubuntu31.3.18-1ubuntu3.11.3.18-1ubuntu3.1+esm1
Show 5 moreShow less
1.3.18-1ubuntu3.1+esm21.3.18-1ubuntu3.1+esm31.3.18-1ubuntu3.1+esm41.3.18-1ubuntu3.1+esm51.3.18-1ubuntu3.1+esm6
1.3.18-1ubuntu3.1+esm7
graphicsmagick
Ubuntu:Pro:16.04:LTS
before 1.3.23-1ubuntu0.6+esm1, plus listed versions
1.3.21-31.3.23-11.3.23-1build11.3.23-1ubuntu0.11.3.23-1ubuntu0.1+esm1
Show 5 moreShow less
1.3.23-1ubuntu0.21.3.23-1ubuntu0.31.3.23-1ubuntu0.41.3.23-1ubuntu0.51.3.23-1ubuntu0.6
1.3.23-1ubuntu0.6+esm1
graphicsmagick
Ubuntu:Pro:18.04:LTS
before 1.3.28-2ubuntu0.1+esm1, plus listed versions
1.3.26-151.3.26-161.3.26-191.3.27-11.3.27-2
Show 4 moreShow less
1.3.27-31.3.28-11.3.28-21.3.28-2ubuntu0.1
1.3.28-2ubuntu0.1+esm1
graphicsmagick
Ubuntu:Pro:14.04:LTS
From an advisory covering 6 CVEs
before 1.3.18-1ubuntu3.1+esm7, plus listed versions
1.3.16-1.1ubuntu21.3.16-1.1ubuntu31.3.18-1ubuntu31.3.18-1ubuntu3.11.3.18-1ubuntu3.1+esm1
Show 5 moreShow less
1.3.18-1ubuntu3.1+esm21.3.18-1ubuntu3.1+esm31.3.18-1ubuntu3.1+esm41.3.18-1ubuntu3.1+esm51.3.18-1ubuntu3.1+esm6
1.3.18-1ubuntu3.1+esm7
graphicsmagick
Ubuntu:Pro:16.04:LTS
From an advisory covering 6 CVEs
before 1.3.23-1ubuntu0.6+esm1, plus listed versions
1.3.21-31.3.23-11.3.23-1build11.3.23-1ubuntu0.11.3.23-1ubuntu0.1+esm1
Show 5 moreShow less
1.3.23-1ubuntu0.21.3.23-1ubuntu0.31.3.23-1ubuntu0.41.3.23-1ubuntu0.51.3.23-1ubuntu0.6
1.3.23-1ubuntu0.6+esm1
graphicsmagick
Ubuntu:Pro:18.04:LTS
From an advisory covering 6 CVEs
before 1.3.28-2ubuntu0.1+esm1, plus listed versions
1.3.26-151.3.26-161.3.26-191.3.27-11.3.27-2
Show 4 moreShow less
1.3.27-31.3.28-11.3.28-21.3.28-2ubuntu0.1
1.3.28-2ubuntu0.1+esm1
graphicsmagick
Ubuntu:Pro:20.04:LTS
From an advisory covering 6 CVEs
before 1.4+really1.3.35-1ubuntu0.1~esm1, plus listed versions
1.4+really1.3.33+hg16115-11.4+really1.3.33+hg16115-1build11.4+really1.3.33+hg16117-11.4+really1.3.34-11.4+really1.3.34-21.4+really1.3.34+hg16181-11.4+really1.3.35-1
1.4+really1.3.35-1ubuntu0.1~esm1
GraphicsMagick
openSUSE:Leap 15.1
From an advisory covering 2 CVEs
before 1.3.29-lp151.4.17.1
1.3.29-lp151.4.17.1
GraphicsMagick
SUSE:Package Hub 15 SP1
From an advisory covering 2 CVEs
before 1.3.29-bp151.5.12.1
1.3.29-bp151.5.12.1

History

History
RecordedChangedSources
affected, facts
affected, aliases, referencesOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-10938 is a critical vulnerability (CVSS 9.8) in Graphicsmagick, published March 24, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.66%, the 91st percentile. Fixed in graphicsmagick 1.3.35-r0.

References

Show 18 moreShow less
MoveEnter Open