Use After Free Affecting ImageMagick/ImageMagick package, versions [,7.1.1-19)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.06% (28th 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-IMAGEMAGICKIMAGEMAGICK-5929485
  • published5 Oct 2023
  • disclosed2 Oct 2023
  • creditHardik Shah

Introduced: 2 Oct 2023

CVE-2023-5341  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade ImageMagick/ImageMagick to version 7.1.1-19 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free via the coders/bmp.c component. An attacker can manipulate memory and potentially execute arbitrary code by exploiting this vulnerability.

CVSS Scores

version 3.1