LiveActive security incident?Get immediate response
CVE Record

CVE-2026-25986: ImageMagick has a heap buffer overflow in YUV 4:2:2 decoder

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, a heap buffer overflow write vulnerability exists in ReadYUVImage() (coders/yuv.c) when processing malicious YUV 4:2:2 (NoInterlace) images. The pixel-pair loop writes one pixel beyond the allocated row buffer. 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

ImageMagick versions before 7.1.2-15 and 6.9.13-40 can write past a memory buffer when handling malicious YUV 4:2:2 images. The published CVSS score is medium, focused on limited availability impact. Organizations are most exposed where ImageMagick processes untrusted uploaded or externally supplied images.

Executive priority

Treat as a moderate-priority patch for internet-facing or user-upload image workflows. Prioritize services that automatically process external images, because a crafted file may disrupt availability. No public source provided here confirms active exploitation.

Technical view

CVE-2026-25986 is a CWE-787 heap buffer overflow write in ReadYUVImage() in coders/yuv.c. For YUV 4:2:2 NoInterlace input, the pixel-pair loop writes one pixel beyond the allocated row buffer. A patch is reported in ImageMagick 7.1.2-15 and 6.9.13-40.

Likely exposure

Exposure is likely in applications, batch pipelines, web services, or content platforms using affected ImageMagick versions to process untrusted YUV images. Systems not using ImageMagick, not supporting YUV processing, or only processing trusted images have lower practical exposure.

Exploitation context

The source bundle does not report active exploitation, and KEV is false. The CVSS vector indicates network reachability, low complexity, no privileges, no user interaction, and low availability impact, with no confidentiality or integrity impact rated.

Researcher notes

The reported flaw is an off-by-one heap write in the YUV decoder row handling path. Analysis should focus on affected version ranges and reachable YUV parsing in application workflows. Do not assume broader impact beyond the advisory’s CVSS assessment without additional evidence.

Mitigation direction

  • Upgrade ImageMagick to 7.1.2-15, 6.9.13-40, or later.
  • Identify applications and containers that bundle ImageMagick.
  • Restrict processing of untrusted YUV files until upgraded.
  • Check the ImageMagick advisory for any updated vendor guidance.

Validation and detection

  • Inventory installed ImageMagick versions across servers, containers, and build images.
  • Confirm whether applications process YUV 4:2:2 or arbitrary uploaded images.
  • Verify upgraded systems report fixed ImageMagick versions.
  • Review image-processing services for exposure to external file submissions.
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-787: 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-25986 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-25986Attack 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-787 · source CWE mapping

Out-of-bounds Write

Out-of-bounds Write represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.