CVE-2023-5341
ImageMagick vulnerability analysis and mitigation

Overview

A heap use-after-free vulnerability (CVE-2023-5341) was discovered in the coders/bmp.c component of ImageMagick. The vulnerability affects versions up to (excluding) ImageMagick 7.1.2. This security flaw was initially reported on November 19, 2023 (NVD).

Technical details

The vulnerability is classified as a heap use-after-free (CWE-416) issue in the BMP image processing code of ImageMagick. The flaw received a CVSS v3.1 base score of 5.5 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, indicating local access requirements and potential high impact on system availability (NVD).

Impact

The vulnerability primarily affects system availability, with no direct impact on confidentiality or integrity. If exploited, it could lead to program crashes and potential denial of service conditions (Red Hat Bugzilla).

Mitigation and workarounds

The vulnerability has been fixed in ImageMagick version 7.1.2. Various Linux distributions have released security updates to address this vulnerability, including Ubuntu, Debian, and Fedora. Users are advised to upgrade to the patched versions available through their respective package managers (Debian Security, Ubuntu Security).

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
NoYesSep 05, 2025
CVE-2025-57803HIGH8.8
  • C#C#
  • ImageMagick-config-6-upstream
NoYesAug 26, 2025
CVE-2025-62171HIGH7.5
  • C#C#
  • ImageMagick-extra
NoYesOct 17, 2025
CVE-2025-62594MEDIUM5.5
  • C#C#
  • Magick.NET-Q16-HDRI-OpenMP-x64
NoYesOct 27, 2025
CVE-2025-65955MEDIUM4.9
  • C#C#
  • Magick.NET-Q16-HDRI-arm64
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