LiveActive security incident?Get immediate response
CVE Record

CVE-2026-25987: ImageMagick has heap buffer over-read in MAP image 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 over-read vulnerability exists in the MAP image decoder when processing crafted MAP files, potentially leading to crashes or unintended memory disclosure during image decoding. 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 can read past the end of heap memory when decoding specially crafted MAP image files. For organizations that process user-supplied images, this could cause crashes or limited memory disclosure. Patched versions are available, and there is no source-provided evidence of active exploitation.

Executive priority

Address in the normal vulnerability remediation cycle, with faster action for public upload or media-processing services. The issue is not currently supported by source evidence of exploitation, but patched versions exist and exposure can be broad through embedded ImageMagick dependencies.

Technical view

CVE-2026-25987 is a CWE-125 heap buffer over-read in ImageMagick's MAP image decoder before 7.1.2-15 and 6.9.13-40. The CVSS 3.1 score is 5.3, with network attack vector, low complexity, no privileges, and no user interaction. Reported impact is low confidentiality exposure; integrity and availability are not scored as impacted.

Likely exposure

Exposure is most relevant where ImageMagick processes untrusted or externally supplied MAP files, such as image upload, conversion, thumbnailing, or media-processing pipelines. Affected ranges are ImageMagick 7.0.0 through before 7.1.2-15, and 6.x before 6.9.13-40.

Exploitation context

The provided sources describe crafted MAP files triggering the decoder issue. The CVE is not marked KEV, and the source bundle does not cite active exploitation. Treat internet-facing or automated image-processing services as higher priority because attackers may supply files without direct system access.

Researcher notes

Key validation points are version lineage, use of ImageMagick 6 versus 7, and whether untrusted MAP files reach the decoder. The public record identifies memory over-read and patch versions, but does not provide evidence here of exploitation in the wild or broader product-specific downstream fixes.

Mitigation direction

  • Upgrade ImageMagick 7.x to 7.1.2-15 or later.
  • Upgrade ImageMagick 6.x to 6.9.13-40 or later.
  • Prioritize systems processing untrusted images or MAP files.
  • Check the GitHub advisory for any updated vendor guidance.
  • Limit untrusted MAP processing until patched where operationally feasible.

Validation and detection

  • Inventory ImageMagick versions across servers, containers, and build images.
  • Identify services that accept, convert, or thumbnail user-supplied images.
  • Confirm whether MAP decoding is used or allowed in workflows.
  • Verify deployed versions meet patched release levels.
  • Review logs for crashes in image-processing services after MAP file handling.
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-125: 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-25987 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:L/I:N/A:N

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:L/I:N/A:N3.91.4Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

5.3Medium
CVSS 3.1 vector shape for CVE-2026-25987Attack 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:N

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-125 · source CWE mapping

Out-of-bounds Read

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