Out-of-bounds Write Affecting graphicsmagick package, versions [1.3.8,1.3.32)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.28% (69th 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-UNMANAGED-GRAPHICSMAGICK-2380606
  • published26 Jan 2022
  • disclosed24 Apr 2019
  • creditUnknown

Introduced: 24 Apr 2019

CVE-2019-11505  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade graphicsmagick to version 1.3.32 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. In GraphicsMagick from version 1.3.8 to 1.4 snapshot-20190403 Q8, there is a heap-based buffer overflow in the function WritePDBImage of coders/pdb.c, which allows an attacker to cause a denial of service or possibly have unspecified other impact via a crafted image file. This is related to MagickBitStreamMSBWrite in magick/bit_stream.c.

CVSS Scores

version 3.1