Out-of-bounds Read Affecting graphicsmagick package, versions <1.4~hg15880-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
2.11% (80th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-GRAPHICSMAGICK-19166084
  • published22 Aug 2026
  • disclosed17 Dec 2018

Introduced: 17 Dec 2018

CVE-2018-20185  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Echo:latest graphicsmagick to version 1.4~hg15880-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream graphicsmagick package and not the graphicsmagick package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

In GraphicsMagick 1.4 snapshot-20181209 Q8 on 32-bit platforms, there is a heap-based buffer over-read in the ReadBMPImage function of bmp.c, which allows attackers to cause a denial of service via a crafted bmp image file. This only affects GraphicsMagick installations with customized BMP limits.

CVSS Base Scores

version 3.1