CVE-2023-1906
ImageMagick vulnerability analysis and mitigation

Overview

A heap-based buffer overflow vulnerability (CVE-2023-1906) was discovered in ImageMagick's ImportMultiSpectralQuantum() function located in MagickCore/quantum-import.c. The vulnerability was disclosed on April 12, 2023, and affects ImageMagick versions prior to 6.9.12-84 and 7.1.1-6. An attacker could exploit this vulnerability by passing a specially crafted file to the convert function (Ubuntu Security, GitHub Advisory).

Technical details

The vulnerability exists in the ImportMultiSpectralQuantum() function within MagickCore/quantum-import.c. When processing certain files, the function can trigger an out-of-bounds read error due to improper buffer handling. The issue has been assigned a CVSS 3.1 base score of 5.5 (Medium) with the following vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H (Oracle Security).

Impact

If successfully exploited, this vulnerability could allow an attacker to cause the application to crash, resulting in a denial of service condition. The impact is primarily limited to availability, with no direct impact on confidentiality or integrity of the system (Ubuntu Security).

Mitigation and workarounds

The vulnerability has been patched in ImageMagick versions 6.9.12-84 and 7.1.1-6. Users are advised to upgrade to these or later versions. The fixes are available in the following commits: e30c693b37c3b41723f1469d1226a2c814ca443d (ImageMagick 6.x) and d7a8bdd7bb33cf8e58bc01b4a4f2ea5466f8c6b3 (ImageMagick 7.x) (GitHub Commits).

Additional resources


SourceThis report was generated using AI

Related ImageMagick vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-57807CRITICAL9.8
  • C#C#
  • ImageMagick-config-7-upstream-open
NoYesSep 05, 2025
CVE-2025-66628HIGH7.5
  • C#C#
  • seal-ImageMagick
NoYesDec 10, 2025
CVE-2025-62171HIGH7.5
  • C#C#
  • ImageMagick-config-7-upstream-websafe
NoYesOct 17, 2025
CVE-2025-62594MEDIUM5.5
  • C#C#
  • libMagickWand-7_Q16HDRI10-32bit
NoYesOct 27, 2025
CVE-2025-65955MEDIUM4.9
  • C#C#
  • Magick.NET-Q16-AnyCPU
NoYesDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management