Use After Free Affecting graphicsmagick package, versions [0,1.3.27)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
1.38% (87th 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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-GRAPHICSMAGICK-2380553
  • published26 Jan 2022
  • disclosed5 Mar 2018
  • creditUnknown

Introduced: 5 Mar 2018

CVE-2017-18220  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade graphicsmagick to version 1.3.27 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free. The ReadOneJNGImage and ReadJNGImage functions in coders/png.c in GraphicsMagick 1.3.26 allow remote attackers to cause a denial of service (magick/blob.c CloseBlob use-after-free) or possibly have unspecified other impact via a crafted file, a related issue to CVE-2017-11403.

References

CVSS Scores

version 3.1