LiveActive security incident?Get immediate response
CVE Record

CVE-2026-25794: ImageMagick has heap-buffer-overflow via signed integer overflow in `WriteUHDRImage` when writing UHDR images with large dimensions

ImageMagick is free and open-source software used for editing and manipulating digital images. `WriteUHDRImage` in `coders/uhdr.c` uses `int` arithmetic to compute the pixel buffer size. Prior to version 7.1.2-15, when image dimensions are large, the multiplication overflows 32-bit `int`, causing an undersized heap allocation followed by an out-of-bounds write. This can crash the process or potentially lead to an out of bounds heap write. Version 7.1.2-15 contains a patch.

HighCVSS 8.2Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

ImageMagick versions before 7.1.2-15 can miscalculate memory when creating UHDR images with very large dimensions. That can crash image-processing services and may permit an out-of-bounds heap write. Organizations using ImageMagick on untrusted images should treat this as an urgent availability risk.

Executive priority

Prioritize remediation for internet-facing or customer-supplied image workflows. The main documented business risk is service disruption, with possible heap memory corruption. Patch promptly, especially in automated media processing systems.

Technical view

The flaw is in `WriteUHDRImage` in `coders/uhdr.c`. It uses 32-bit signed `int` arithmetic for pixel buffer sizing, so large dimensions can overflow, allocate too little heap memory, then write out of bounds. Sources rate it CVSS 8.2 high, with network attack vector, low complexity, no privileges, and no user interaction.

Likely exposure

Exposure is most likely where ImageMagick before 7.1.2-15 is used by web apps, APIs, batch jobs, or media pipelines to write UHDR images from untrusted or attacker-controlled inputs.

Exploitation context

The provided bundle does not show CISA KEV listing or confirmed active exploitation. The CVSS vector indicates plausible remote triggering where ImageMagick processing is exposed, but the sources do not provide exploit-in-the-wild evidence.

Researcher notes

Key evidence is the signed integer overflow leading to undersized allocation and heap out-of-bounds write in UHDR output handling. Do not assume broader codec impact beyond the cited UHDR write path without vendor evidence.

Mitigation direction

  • Upgrade ImageMagick to version 7.1.2-15 or later.
  • Check operating system vendor advisories for backported package fixes.
  • Restrict untrusted image processing until patched where feasible.
  • Limit resource consumption for image conversion services.
  • Monitor ImageMagick-facing services for crashes or abnormal restarts.

Validation and detection

  • Inventory ImageMagick versions across hosts, containers, and build images.
  • Identify workloads that write or convert UHDR images.
  • Confirm packages are version 7.1.2-15 or vendor-patched equivalents.
  • Review application paths that pass untrusted images to ImageMagick.
  • Check logs for recent ImageMagick crashes during image conversion.
Prepared
Confidence
medium
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-122: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · low confidence lookup

CWE-190: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-25794 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.2 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

2CVSS vectors
5Timeline events
2ADP providers
5Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: yesTechnical Impact: partial

CVSS vector scores

2 official scores

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.2CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H3.94.2GitHub_M
8.2CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H3.94.2redhat-SADP

Vulnerability scoring details

Base CVSS 3.1 score

8.2High
CVSS 3.1 vector shape for CVE-2026-25794Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. ADP timelineredhat-SADP

    Made public.

  3. CVE publishedCVE Program

    The CVE record was published.

  4. ADP timelineredhat-SADP

    Reported to Red Hat.

  5. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
redhat-SADPImageMagick: ImageMagick: Denial of service and potential arbitrary code execution via integer overflow in image processing
other:Red Hat severity ratingcvssV3_1
  • 2026-02-24T02:01:50.796Z: Reported to Red Hat.
  • 2026-02-24T00:53:23.396Z: Made public.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
ImageMagickImageMagick< 7.1.2-15Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-122 · source CWE mapping

Heap-based Buffer Overflow

Heap-based Buffer Overflow represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.

CWE-190 · source CWE mapping

Integer Overflow or Wraparound

Integer Overflow or Wraparound represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.