CVE-2026-140370

8.2High

Published Dec 1, 2026 · NVD status: Analyzed · AI triage by gemini-3.1-flash-lite

8.2CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
High impact on availability
Weakness
CWE-122

What an attacker gets

Remote attackers can crash services or potentially corrupt memory by sending a crafted MAC image file. No authentication or user interaction is required to trigger this heap-based buffer overflow.

Root cause

The MAC image decoder fails to perform bounds checking, leading to a heap-based buffer overflow during specific decoding errors.

Affected versions

ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

Fix & remediation

Upgrade to ImageMagick 6.9.13-61 or 7.1.2-36 or later. If patching is delayed, disable the MAC image decoder in the policy.xml configuration file.

remediation — bash
$ sudo apt-get update && sudo apt-get install --only-upgrade imagemagick

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap-based buffer overflow in the MAC image decoder, which writes past the end of a heap buffer when a specific decoding failure occurs. Attackers can supply a crafted MAC image to corrupt heap memory, causing a crash or other memory corruption.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-140370

More fully triaged vulnerabilities you may want to check next.