CVE-2023-34474
ImageMagick vulnerability analysis and mitigation

Overview

A heap-based buffer overflow vulnerability (CVE-2023-34474) was discovered in ImageMagick's ReadTIM2ImageData() function located in coders/tim2.c. The vulnerability was reported on June 7, 2023, and affects ImageMagick versions up to (excluding) 7.1.1-10. This security issue impacts various systems including Fedora and Red Hat Enterprise Linux distributions (NVD, Red Hat CVE).

Technical details

The vulnerability is classified as a heap-based buffer overflow (CWE-122) with a CVSS v3.1 base score of 5.5 (Medium). The issue occurs in the ReadTIM2ImageData() function when processing specially crafted TIM2 image files, which can trigger an out-of-bounds read error. The vulnerability was fixed in ImageMagick version 7.1.1-10 through a patch that properly handles buffer allocation and management (GitHub Patch).

Impact

When exploited, this vulnerability can allow an attacker to cause an application crash, resulting in a denial of service condition. The impact is limited to local attacks where a user must be tricked into opening a specially crafted file (NVD).

Mitigation and workarounds

The primary mitigation is to upgrade ImageMagick to version 7.1.1-10 or later which contains the security fix. Various Linux distributions have released security updates to address this vulnerability, including Fedora 37 and 38 (Fedora Update 37, Fedora Update 38).

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-2026-23876HIGH8.1
  • ImageMagickImageMagick
  • ImageMagick-c++
NoYesJan 20, 2026
CVE-2025-69204HIGH7.5
  • ImageMagickImageMagick
  • libMagick++-devel-32bit
NoYesDec 30, 2025
CVE-2026-23952MEDIUM6.5
  • C#C#
  • Magick.NET-Q16-HDRI-x86
NoYesJan 21, 2026
CVE-2026-22770MEDIUM6.5
  • C#C#
  • Magick.NET-Q16-OpenMP-arm64
NoYesJan 20, 2026
CVE-2026-23874MEDIUM5.5
  • C#C#
  • seal-ImageMagick
NoYesJan 20, 2026

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