Out-of-bounds Write Affecting ImageMagick/ImageMagick package, versions [,6.9.10-50)[7.0.0, 7.0.8-50)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.23% (62nd 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-IMAGEMAGICKIMAGEMAGICK-3007718
  • published26 Jan 2022
  • disclosed5 Jul 2019
  • creditUnknown

Introduced: 5 Jul 2019

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

How to fix?

Upgrade ImageMagick/ImageMagick to version 6.9.10-50, 7.0.8-50 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. ImageMagick 7.0.8-50 Q16 has a stack-based buffer overflow at coders/pnm.c in WritePNMImage because of a misplaced strncpy and an off-by-one error.

CVSS Scores

version 3.1