CVE-2026-61870: ImageMagick before 7.1.2-26 Memory Leak via VIFF Encoder

Published Jul 11, 2026
·
Updated

ImageMagick before 7.1.2-26 contains a memory leak vulnerability in the VIFF encoder when memory allocation fails. Attackers can trigger allocation failures by processing specially crafted VIFF images to exhaust available memory and cause denial of service.

Affected Software

9 affected componentsFixes available
ImageMagick ImageMagick<7.1.2-26
ImageMagick ImageMagick<6.9.13-51
ImageMagick ImageMagick>=7.0.0-0<7.1.2-26
debian/imagemagick<8:6.9.11.60+dfsg-1.6+deb12u13
8:6.9.11.60+dfsg-1.6+deb12u13
debian/imagemagick<8:7.1.1.43+dfsg1-1+deb13u12
8:7.1.1.43+dfsg1-1+deb13u12
debian/imagemagick<8:7.1.2.26+dfsg1-1
8:7.1.2.26+dfsg1-1
debian/imagemagick<=8:6.9.11.60+dfsg-1.6+deb12u11
8:6.9.11.60+dfsg-1.6+deb12u158:7.1.1.43+dfsg1-1+deb13u128:7.1.1.43+dfsg1-1+deb13u138:7.1.2.34+dfsg1-1
alpine/glib<2.86.5-r0
2.86.5-r0
alpine/imagemagick>=7.0.0-0<7.1.2.29-r0
7.1.2.29-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/imagemagick to a version that resolves this vulnerability.

    Fixed in 8:6.9.11.60+dfsg-1.6+deb12u13
  2. Upgrade

    Upgrade debian/imagemagick to a version that resolves this vulnerability.

    Fixed in 8:7.1.1.43+dfsg1-1+deb13u12
  3. Upgrade

    Upgrade debian/imagemagick to a version that resolves this vulnerability.

    Fixed in 8:7.1.2.26+dfsg1-1
  4. Upgrade

    Upgrade debian/imagemagick to a version that resolves this vulnerability.

    Fixed in 8:6.9.11.60+dfsg-1.6+deb12u15Fixed in 8:7.1.1.43+dfsg1-1+deb13u12Fixed in 8:7.1.1.43+dfsg1-1+deb13u13Fixed in 8:7.1.2.34+dfsg1-1
  5. Upgrade

    Upgrade alpine/glib to a version that resolves this vulnerability.

    Fixed in 2.86.5-r0
  6. Upgrade

    Upgrade alpine/imagemagick to a version that resolves this vulnerability.

    Fixed in 7.1.2.29-r0
  7. Upgrade

    Upgrade ImageMagick to a version that resolves this vulnerability.

    Fixed in 7.1.2-26

Event History

Jul 11, 2026
CVE Published
via MITRE·01:01 PM
Data Sourced
via MITRE·01:01 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·02:16 PM
Affected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2026-61870?

The severity of CVE-2026-61870 is classified as low with a score of 2.9.

2

How do I fix CVE-2026-61870?

To mitigate CVE-2026-61870, upgrade ImageMagick to version 7.1.2-26 or later.

3

What does CVE-2026-61870 affect?

CVE-2026-61870 affects ImageMagick versions prior to 7.1.2-26.

4

What type of vulnerability is CVE-2026-61870?

CVE-2026-61870 is a memory leak vulnerability in the VIFF encoder of ImageMagick.

5

How can CVE-2026-61870 be exploited?

CVE-2026-61870 can be exploited by attackers through specially crafted VIFF images that trigger memory allocation failures.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203