Cyber Resilience

CVE-2026-28494

Memory Safety in Imagemagick ≤ 6.9.13-41

Published
10 March 2026
Modified
12 March 2026
Patch / advisory
CVSS Score v3.1 7.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
EPSS Score 0.0011 1th percentile
Risk Priority 55 floored blend · peak EPSS

Summary

CVE-2026-28494 is a high-severity Stack-based Buffer Overflow (CWE-121) vulnerability in Imagemagick Imagemagick. Its CVSS base score is 7.1 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Client Execution (T1203); ranked at the 1th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) and SI-2 (Flaw Remediation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-28494 is a stack buffer overflow vulnerability in ImageMagick, a free and open-source software suite for editing and manipulating digital images. The issue affects versions prior to 7.1.2-16 and 6.9.13-41, specifically in the morphology kernel parsing functions. User-controlled kernel strings that exceed the buffer size are copied into fixed-size stack buffers using memcpy without bounds checking, leading to stack corruption. This flaw is classified under CWE-121 (Stack-based Buffer Overflow) with a CVSS v3.1 base score of 7.1 (AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H).

An attacker with local access to the system can exploit this vulnerability by providing a malicious image file containing oversized kernel strings in the morphology parameters. Exploitation requires user interaction, such as convincing a user to process the crafted image with ImageMagick via a command-line tool or script. Successful exploitation results in high-impact integrity and availability violations, including potential stack corruption that could enable code execution, denial of service, or modification of image processing results, though confidentiality is not affected.

The official ImageMagick security advisory on GitHub (GHSA-932h-jw47-73jm) confirms the vulnerability and states that it is fixed in versions 7.1.2-16 and 6.9.13-41. Security practitioners should update to these patched versions immediately and avoid processing untrusted images with vulnerable installations.

EU & UK References

Vulnerability Data

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, a stack buffer overflow exists in ImageMagick's morphology kernel parsing functions. User-controlled kernel strings exceeding a buffer are copied into fixed-size…

more

stack buffers via memcpy without bounds checking, resulting in stack corruption. This vulnerability is fixed in 7.1.2-16 and 6.9.13-41.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1204.003 Malicious Image Execution
Adversaries may rely on a user running a malicious image to facilitate execution.
Why these techniques?

Stack buffer overflow in ImageMagick image parser enables code execution when user processes malicious image file (local access, user interaction required).

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2026-42050Same product: Imagemagick Imagemagick
CVE-2026-30929Same product: Imagemagick Imagemagick
CVE-2026-55597Same product: Imagemagick Imagemagick
CVE-2026-48734Same product: Imagemagick Imagemagick
CVE-2026-33536Same product: Imagemagick Imagemagick
CVE-2026-40183Same product: Imagemagick Imagemagick
CVE-2026-55594Same product: Imagemagick Imagemagick
CVE-2026-30935Same product: Imagemagick Imagemagick
CVE-2026-61861Same product: Imagemagick Imagemagick
CVE-2025-55005Same product: Imagemagick Imagemagick

Affected Assets

imagemagick
imagemagick
≤ 6.9.13-41 · 7.0.0-0 — 7.1.2-16

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • SI-2 Flaw Remediation
  • SI-10 Information Input Validation
  • SI-16 Memory Protection
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 2 hardening rules · 2 OS baselines
Validate
Prove the fix (OWASP ASVS)

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly requires timely flaw remediation to install the patched ImageMagick versions (7.1.2-16 / 6.9.13-41) that eliminate the unbounded memcpy in morphology kernel parsing.

prevent

Mandates input validation on untrusted morphology kernel strings so that oversized user-controlled data cannot overflow the fixed stack buffers.

prevent

Requires memory-protection mechanisms that can block or contain exploitation of the resulting stack corruption even if the vulnerable parsing code is reached.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure-development practices directly prevent introduction of stack buffer overflows.

ID.RA-01 partial match
prevents

Vulnerability scanning can discover stack buffer overflows but does not prevent their introduction.

PR.PS-02 partial match
prevents

Patching eliminates known instances of the weakness after discovery.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing (fuzzing, static analysis) detects stack overflows before release.

prevents

Secure SDLC mandates buffer-safety practices that directly prevent stack overflows.

prevents

Application security requirements can specify buffer-size and input-validation rules.

prevents

Secure architecture principles include memory-safety and least-privilege stack usage.

prevents

Secure coding standards explicitly forbid unsafe buffer handling that causes CWE-121.

none

Change-management gates can enforce security reviews that catch buffer issues.

References