Denial of Service Vulnerabilities in graphicsmagick

graphicsmagick Updated 02 Oct 2025

Summary

28/03/2017
N/A
Yes i
Unrated
Not published

DLA-547-2: graphicsmagick - regression update. Affects graphicsmagick versions < 1.3.16-1.1+deb7u6. Fixed in 1.3.16-1.1+deb7u6. 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

graphicsmagick is a collection of image processing tools. It provides a wide range of functionality for manipulating and converting images. This package is commonly used for image editing, resizing, and format conversion. However, it has been found to be vulnerable to denial of service attacks.

Vulnerability Detail

Two denial of service vulnerabilities have been discovered in graphicsmagick:

  1. CVE-2016-5240: This vulnerability allows an attacker to cause an endless loop by providing negative stroke-dasharray arguments. By exploiting this vulnerability, an attacker can exhaust system resources, leading to a denial of service.

  2. CVE-2016-5241: This vulnerability occurs when a fill or stroke pattern image has zero columns or rows. It can be exploited to trigger a divide-by-zero error, resulting in a denial of service attack.

These vulnerabilities can be exploited remotely by an attacker with the ability to supply malicious image files to a vulnerable graphicsmagick installation.

How To Fix

Minimum fixed version

1.3.16-1.1+deb7u6

This is the first release that contains the fix.

sudo apt-get install --only-upgrade graphicsmagick

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

Workaround

There are no known workarounds for these vulnerabilities. It is essential to apply the recommended fix by upgrading to the patched version of graphicsmagick.

Conclusion

graphicsmagick is susceptible to denial of service vulnerabilities that can be exploited remotely. It is crucial to upgrade to the latest patched version of the package to mitigate these risks. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for graphicsmagick →

Share this vulnerability

FAQ

graphicsmagick is a collection of image processing tools used for editing, resizing, and converting images.

A denial of service vulnerability allows an attacker to disrupt the normal functioning of a system or application, rendering it unavailable to legitimate users.

These vulnerabilities can be exploited remotely by providing malicious image files to a vulnerable graphicsmagick installation.

By exploiting these vulnerabilities, an attacker can cause a denial of service, leading to system unavailability and potential disruption of services.

Yes, upgrading the graphicsmagick package to version 1.3.16-1.1+deb7u3 or later will address these vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for graphicsmagick.

How To Fix

Minimum fixed version

1.3.16-1.1+deb7u6

This is the first release that contains the fix.

sudo apt-get install --only-upgrade graphicsmagick

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