LiveActive security incident?Get immediate response
CVE Record

CVE-2026-25796: ImageMagick has memory leak of watermark Image object in ReadSTEGANOImage on multiple error/early-return paths

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, in `ReadSTEGANOImage()` (`coders/stegano.c`), the `watermark` Image object is not freed on three early-return paths, resulting in a definite memory leak (~13.5KB+ per invocation) that can be exploited for denial of service. Versions 7.1.2-15 and 6.9.13-40 contain a patch.

MediumCVSS 5.3Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This ImageMagick flaw can cause gradual memory exhaustion when the software processes certain STEGANO images and exits error paths without freeing memory. The business impact is denial of service, not data theft or system takeover. Systems that accept or automatically process untrusted images are most relevant.

Executive priority

Treat as a normal-priority availability fix, with higher urgency for internet-facing image upload or conversion services. It is not presented as a breach-enabling vulnerability, but repeated processing could degrade or interrupt services.

Technical view

CVE-2026-25796 is a CWE-401 memory leak in ImageMagick ReadSTEGANOImage() in coders/stegano.c. Prior to 7.1.2-15 and 6.9.13-40, the watermark Image object is not freed on three early-return paths, leaking roughly 13.5KB or more per invocation. CVSS 3.1 is 5.3, availability impact low.

Likely exposure

Exposure is most likely in web services, media pipelines, document converters, or backend jobs that use ImageMagick to process user-supplied images. Products embedding vulnerable ImageMagick versions may also be affected. Environments that do not process STEGANO images or untrusted images have lower practical exposure.

Exploitation context

The provided sources describe denial of service through repeated memory leaks. They do not report active exploitation, and the CVE is not listed as KEV in the source bundle. Exploitation is characterized as network-accessible, low complexity, no privileges, and no user interaction in the CVSS vector.

Researcher notes

The source bundle identifies the root cause as missing cleanup of the watermark Image object in ReadSTEGANOImage() on three early returns. Public details provided here are sufficient for version triage and patch validation, but not for confirming exploit activity beyond the stated denial-of-service potential.

Mitigation direction

  • Upgrade ImageMagick 7.x to 7.1.2-15 or later.
  • Upgrade ImageMagick 6.x to 6.9.13-40 or later.
  • Check vendor guidance for packaged or embedded ImageMagick builds.
  • Limit processing of untrusted images where immediate patching is not possible.
  • Monitor image-processing services for abnormal memory growth or restarts.

Validation and detection

  • Inventory ImageMagick versions on servers, containers, and application dependencies.
  • Confirm installed versions meet 7.1.2-15 or 6.9.13-40 minimums.
  • Identify services that process user-supplied images with ImageMagick.
  • Review package manager and container image metadata for embedded ImageMagick.
  • Verify post-upgrade service stability and memory behavior in normal workloads.
Prepared
Confidence
high
Sources
3

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-401: 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-25796 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
Medium
CVSS
5.3 (3.1)
Known Exploited
No
Published

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

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.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

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
5.3CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L3.91.4Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

5.3Medium
CVSS 3.1 vector shape for CVE-2026-25796Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

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

Products and packages named in the record

VendorProductVersion / packageStatus
ImageMagickImageMagick>= 7.0.0, < 7.1.2-15, < 6.9.13-40Listed
Weakness

CWE details

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

CWE-401 · source CWE mapping

Missing Release of Memory after Effective Lifetime

Missing Release of Memory after Effective Lifetime represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.