Memory Leak Vulnerability in ImageMagick - CVE-2019-13134

imagemagick Updated 02 Oct 2025

Summary

01/07/2019
N/A
Yes i
Medium
5.5

ALPINE-CVE-2019-13134: ImageMagick before 7.0.8-50 has a memory leak vulnerability in the function ReadVIFFImage in coders/viff.c. Affects imagemagick versions < 6.9.10.53-r0. Fixed in 6.9.10.53-r0. 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 a widely-used open-source software suite for displaying, converting, and editing raster image files. It supports a multitude of image formats and provides a robust set of tools for image manipulation. However, certain versions of ImageMagick are susceptible to a memory leak vulnerability, which can lead to increased memory consumption and potential denial of service.

Vulnerability Detail

The vulnerability, identified as CVE-2019-13134, exists in ImageMagick versions prior to 7.0.8-50, specifically within the function ReadVIFFImage in the coders/viff.c file. This memory leak can cause the application to consume excessive memory over time, potentially leading to application crashes or degraded performance. Attackers could exploit this vulnerability by crafting specific image files that trigger the memory leak, resulting in a denial of service.

How To Fix

Minimum fixed version

6.9.10.53-r0

This is the first release that contains the fix.

sudo apk add --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, consider limiting the use of ImageMagick to trusted image sources only, and monitor memory usage closely to mitigate potential impacts until a proper update can be applied.

Conclusion

CVE-2019-13134 represents a significant memory leak vulnerability in ImageMagick that can lead to performance issues and denial of service. It is crucial to update to the patched version to ensure the security and stability of your applications.

See every vulnerability recorded for imagemagick →

Share this vulnerability

FAQ

CVE-2019-13134 is a memory leak vulnerability in ImageMagick that can lead to increased memory consumption and potential denial of service.

Versions of ImageMagick prior to 7.0.8-50 are affected by this vulnerability.

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

The CVSS score of CVE-2019-13134 is 5.5, indicating a moderate level of severity.

If you cannot update immediately, limit the use of ImageMagick to trusted sources and monitor memory usage closely.

Related vulnerabilities

Recent vulnerabilities recorded for imagemagick.

How To Fix

Minimum fixed version

6.9.10.53-r0

This is the first release that contains the fix.

sudo apk add --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