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 before 7.1.2-15 can allocate too small a heap buffer when writing very large UHDR images, then write past it. For businesses, the main concern is service disruption in systems that process attacker-controlled images; the source also notes a potential out-of-bounds heap write.

Executive priority

Prioritize remediation for internet-facing or partner-facing image processing services. The business risk is primarily outage or processing service instability, with some memory-corruption uncertainty. Internal-only, tightly controlled conversion jobs are lower priority but should still be updated during normal patch cycles.

Technical view

In coders/uhdr.c, WriteUHDRImage uses 32-bit int arithmetic for pixel buffer size calculation. Large dimensions can trigger signed integer overflow, causing undersized allocation and heap out-of-bounds writes. The CVSS 3.1 score is 8.2, with network attack vector, low complexity, no privileges, no user interaction, low confidentiality impact, and high availability impact.

Likely exposure

Exposure is most likely where ImageMagick below 7.1.2-15 processes or writes UHDR images from untrusted or semi-trusted inputs, including upload pipelines, media conversion services, thumbnailers, and back-end batch processors. Downstream Linux packages may need vendor-specific status checks.

Exploitation context

The provided sources do not establish active exploitation, public weaponization, or KEV listing. The vulnerability is remotely reachable in the CVSS assessment when a service accepts suitable image-processing input, but the bundle only supports crash or potential heap write impact, not confirmed code execution.

Researcher notes

Key evidence is the ImageMagick advisory description, CVSS vector, affected version range, and fixed release. No source in the bundle confirms exploit-in-the-wild activity, a public proof of concept, or reliable code execution. Validation should focus on version provenance and whether UHDR writing is reachable from untrusted inputs.

Mitigation direction

  • Upgrade ImageMagick to version 7.1.2-15 or later where available.
  • Check distribution vendor advisories for backported fixes and affected package status.
  • Restrict untrusted image conversion workflows until patched, especially UHDR output paths.
  • Apply image dimension and resource limits for upload and conversion services.
  • Monitor ImageMagick and Linux vendor guidance for any revised remediation details.

Validation and detection

  • Inventory applications, containers, and jobs that include ImageMagick.
  • Confirm installed or bundled ImageMagick versions are 7.1.2-15 or patched builds.
  • Identify workflows that write UHDR images from user-controlled input.
  • Review package vendor notices for backport status and fixed build identifiers.
  • Verify operational image size limits are enforced in exposed conversion paths.
Prepared
Confidence
high
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.