Integer Overflow or Wraparound Affecting imagemagick package, versions <8:6.9.11.60+dfsg-1.3ubuntu1


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.11% (47th 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-UBUNTU2410-IMAGEMAGICK-8205257
  • published15 Oct 2024
  • disclosed11 May 2021

Introduced: 11 May 2021

CVE-2021-20312  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Ubuntu:24.10 imagemagick to version 8:6.9.11.60+dfsg-1.3ubuntu1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream imagemagick package and not the imagemagick package as distributed by Ubuntu. See How to fix? for Ubuntu:24.10 relevant fixed versions and status.

A flaw was found in ImageMagick in versions 7.0.11, where an integer overflow in WriteTHUMBNAILImage of coders/thumbnail.c may trigger undefined behavior via a crafted image file that is submitted by an attacker and processed by an application using ImageMagick. The highest threat from this vulnerability is to system availability.

CVSS Base Scores

version 3.1