Critical Vulnerability in ImageMagick: Multiple CVEs Affecting Image Processing

imagemagick Updated 02 Oct 2025

Summary

19/11/2006
N/A
Yes i
Unrated
Not published

DSA-1213-1: imagemagick. Affects imagemagick versions < 6:6.0.6.2-2.8. Fixed in 6:6.0.6.2-2.8. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

ImageMagick is a widely used open-source software suite for creating, editing, and converting bitmap images. It supports a variety of image formats and is commonly utilized in web applications for image manipulation. However, certain versions of ImageMagick have been found to contain vulnerabilities that could allow attackers to execute arbitrary code or cause denial of service, posing significant risks to systems that rely on this software.

Vulnerability Detail

The vulnerabilities identified in ImageMagick stem from improper handling of image files, leading to potential memory corruption and arbitrary code execution. Specifically, CVE-2006-0082, CVE-2006-4144, CVE-2006-5456, and CVE-2006-5868 highlight various weaknesses that could be exploited by an attacker through crafted image files. These vulnerabilities can result in unauthorized access to system resources, data breaches, or service disruptions, making it critical for users to address them promptly.

How To Fix

Minimum fixed version

6:6.0.6.2-2.8

This is the first release that contains the fix.

sudo apt-get install --only-upgrade imagemagick

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate updating is not feasible, a temporary workaround is to restrict the use of ImageMagick to trusted image sources only, thereby minimizing exposure to potentially malicious files. Additionally, consider disabling certain features or functionalities that are not essential for your application.

Conclusion

The vulnerabilities in ImageMagick pose significant risks to users and applications relying on this software for image processing. It is crucial to update to the latest patched version to mitigate these risks. Users should also consider utilizing tools like Vulert for ongoing monitoring of open-source vulnerabilities.

See every vulnerability recorded for imagemagick →

Share this vulnerability

FAQ

The vulnerabilities are associated with CVE-2006-0082, CVE-2006-4144, CVE-2006-5456, and CVE-2006-5868.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Exploitation of these vulnerabilities can lead to arbitrary code execution, data breaches, and denial of service, severely impacting system integrity and availability.

Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities using just a manifest file like package-lock.json.

If you cannot update immediately, limit the use of ImageMagick to trusted sources and consider disabling non-essential features to reduce risk.

Related vulnerabilities

Recent vulnerabilities recorded for imagemagick.

How To Fix

Minimum fixed version

6:6.0.6.2-2.8

This is the first release that contains the fix.

sudo apt-get install --only-upgrade imagemagick

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback