cve.bz

CVE-2026-116149 imagemagick imagemagick: Stack-based Buffer Overflow

7.2 highEPSS 0.4%

High (7.2) in imagemagick imagemagick. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
ImageMagick before 6.9.13-58 and 7.x before 7.1.2-33 contains a stack-based buffer overflow in the handling of bzip2 compressed images. Attackers can supply a crafted image using bzip2 compression to overwrite stack memory during decoding, causing crashes or memory corruption.

Severity

CVSS 4.0

7.2 high
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago) estimated probability of exploitation activity in the next 30 days; 30th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-121 Stack-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-116149 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-116149?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-116149?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-116149 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-116149

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-116149](https://cve.bz/cve/badge/CVE-2026-116149.svg)](https://cve.bz/cve/CVE-2026-116149)

HTML:

<a href="https://cve.bz/cve/CVE-2026-116149"><img src="https://cve.bz/cve/badge/CVE-2026-116149.svg" alt="CVE-2026-116149"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
ImageMagickfrom 7.0.0-0 before 7.1.2-33
ImageMagickbefore 6.9.13-58

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12imagemagick8:6.9.11.60+dfsg-1.6+deb12u15DEBIAN-CVE-2026-116149
Debian13imagemagick8:7.1.1.43+dfsg1-1+deb13u14DEBIAN-CVE-2026-116149
Debian14imagemagick8:7.1.2.33+dfsg1-1DEBIAN-CVE-2026-116149
Ubuntu26.10, Pro:14.04:LTS, Pro:16.04:LTS and 5 moreimagemagickno fix listedUBUNTU-CVE-2026-116149
SUSELinux Enterprise Module for Package Hub 15 SP7GraphicsMagick1.3.42-150600.3.54.1SUSE-SU-2026:5157-1
openSUSELeap 16.0GraphicsMagick1.3.45-160000.15.1openSUSE-SU-2026:22270-1
openSUSETumbleweedGraphicsMagick1.3.49-3.1openSUSE-SU-2026:12507-1
openSUSETumbleweedImageMagick7.1.2.34-3.1openSUSE-SU-2026:12356-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This flaw is rated as having an Important impact for Red Hat products because a stack buffer overflow can lead to application crashes or potentially allow arbitrary code execution within the security context of the running process. In typical Red Hat deployments, ImageMagick is used either via local CLI utilities or as a backend component in web applications and automated processing pipelines. Exploitation requires an application or user to parse a specially prepared graphic file utilizing bzip2 compression, limiting the blast radius to the permissions and boundaries of the executing service.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

--- CME Mitigation Guidance (2026-11-02) ---

Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure.

The highest-value action is to enforce bounds checking and stack protector canaries during the decoding of bzip2 compressed images in ImageMagick: upgrade to ImageMagick 6.9.13-58, 7.1.2-33+ (or the fixed Imagemagick builds), which prevents stack memory from being overwritten during the decoding of bzip2 compressed images, closing crafted bzip2-compressed image file. Until patched, this is a concern on Deployments running ImageMagick CLI utilities, web backends, or automated pipelines processing untrusted bzip2-compressed images, so Restrict ImageMagick from processing untrusted bzip2-compressed files or isolate image processing pipelines to limit execution privileges. As a compensating measure, Enable Address Space Layout Randomization to randomize stack and library layout and obstruct control flow redirection, Enable Control Flow Integrity or a shadow call stack to isolate return addresses and prevent control-flow hijacking, Enable FORTIFY_SOURCE buffer overflow detection to catch out-of-bounds writes to stack buffers at runtime, and Enforce NX/XD bit non-executable memory protection to prevent execution of injected stack shellcode. These controls limit blast radius and contain exploitation, but they do not fix the underlying stack-based buffer overflow defect — apply the upstream patch to fully remediate.

Highest-impact CME: CME-103 Stack Canaries (Stack Protector) (high)

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6ImageMagickAffected
Red Hat Enterprise Linux 7ImageMagickAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-116149.

References

Check your stackJSON