CVE-2023-5341

Executive Summary

A heap use‑after‑free vulnerability in ImageMagick’s BMP decoder (coders/bmp.c) allows an attacker to trigger memory corruption by supplying a crafted BMP file. The flaw can lead to arbitrary code execution or denial‑of‑service when the library processes the file. No public exploit yet, but the issue is critical for systems that automatically process untrusted images.


Authoritative CVE Metadata

  • CVSS Base Score: 6.2 (MEDIUM)
  • Last Modified: 05-11-26

Original Description

A heap use-after-free flaw was found in coders/bmp.c in ImageMagick.