Out-of-bounds Read Affecting graphicsmagick package, versions <1.3.26-r2


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.43% (75th 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-ALPINE313-GRAPHICSMAGICK-1067767
  • published2 Feb 2021
  • disclosed18 Aug 2017

Introduced: 18 Aug 2017

CVE-2017-12935  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Alpine:3.13 graphicsmagick to version 1.3.26-r2 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 Alpine. See How to fix? for Alpine:3.13 relevant fixed versions and status.

The ReadMNGImage function in coders/png.c in GraphicsMagick 1.3.26 mishandles large MNG images, leading to an invalid memory read in the SetImageColorCallBack function in magick/image.c.