Vulnerability in ImageMagick allows remote attackers to cause denial of service

imagemagick Updated 02 Oct 2025

Summary

23/05/2018
N/A
Yes i
Unrated
Not published

DLA-1381-1: imagemagick - security update. Affects imagemagick versions < 8:6.7.7.10-5+deb7u22. Fixed in 8:6.7.7.10-5+deb7u22. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

ImageMagick is an image manipulation program that is widely used for processing and converting images. It provides a set of command-line tools and libraries for reading, writing, and manipulating images in various formats. ImageMagick is vulnerable to several security issues that can be exploited by remote attackers to cause a denial of service. These vulnerabilities can lead to CPU exhaustion through an infinite loop or heap-based buffer overreads with a specially crafted image file.

Vulnerability Detail

The vulnerability in ImageMagick arises from the way it handles certain image files. By exploiting this vulnerability, remote attackers can cause a denial of service by either exhausting the CPU resources or triggering heap-based buffer overreads. This can result in the program crashing or becoming unresponsive. The impact of this vulnerability can be severe, as it allows attackers to disrupt the normal functioning of systems that rely on ImageMagick for image processing.

How To Fix

Minimum fixed version

8:6.7.7.10-5+deb7u22

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

There is no specific workaround mentioned for this vulnerability. The recommended solution is to upgrade the ImageMagick package to the fixed version.

Conclusion

ImageMagick is vulnerable to security issues that can be exploited by remote attackers to cause a denial of service. To mitigate this vulnerability, it is important to upgrade the ImageMagick package to the fixed version. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for imagemagick →

Share this vulnerability

FAQ

ImageMagick is an image manipulation program used for processing and converting images.

The vulnerability allows remote attackers to cause a denial of service by exhausting CPU resources or triggering heap-based buffer overreads.

To fix this vulnerability, upgrade the ImageMagick package to version 8:6.7.7.10-5+deb7u22 or later.

There is no specific workaround mentioned for this vulnerability. Upgrading the package is the recommended solution.

You can find more information about Debian LTS security advisories, including how to apply updates and frequently asked questions, at https://wiki.debian.org/LTS.

Related vulnerabilities

Recent vulnerabilities recorded for imagemagick.

How To Fix

Minimum fixed version

8:6.7.7.10-5+deb7u22

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