Heap-based Buffer Overflow Affecting imagemagick package, versions <8:6.9.11.60+dfsg-1.6ubuntu0.23.04.1


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.02% (5th 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-UBUNTU2304-IMAGEMAGICK-5463361
  • published14 Apr 2023
  • disclosed12 Apr 2023

Introduced: 12 Apr 2023

CVE-2023-1906  (opens in a new tab)
CWE-122  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Ubuntu:23.04 imagemagick to version 8:6.9.11.60+dfsg-1.6ubuntu0.23.04.1 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:23.04 relevant fixed versions and status.

A heap-based buffer overflow issue was discovered in ImageMagick's ImportMultiSpectralQuantum() function in MagickCore/quantum-import.c. An attacker could pass specially crafted file to convert, triggering an out-of-bounds read error, allowing an application to crash, resulting in a denial of service.

CVSS Base Scores

version 3.1