HackerFeeds
All CVEs

CVE-2026-140366: ImageMagick Out-of-bounds Write

LOW2.5

Published 2026-12-01 · Updated 2026-12-01 · Source disclosure@vulncheck.com

Not known to be exploited · low severity — update ImageMagick to a fixed release (6.9.13-61, 7.1.2-36) when convenient.

What to do

  1. Update ImageMagick to a fixed release: 6.9.13-61 or 7.1.2-36 (whichever matches your release branch).
  2. Until it is patched, limit who has a local account on systems running ImageMagick.
  3. Avoid processing untrusted input with the affected component until it is updated.
  4. Exploitation needs a victim to act, so warn users of the affected system about unexpected links and files.

Affected and fixed versions

ProductAffectedFixed in
ImageMagickReleases before the fixed versions6.9.13-61 or 7.1.2-36 (whichever matches your release branch)

Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.

How it can be exploited

Exploiting it requires local access to the system, or getting a user to open a crafted file; the attacker does not need an account, and a victim has to take an action such as opening a link or file. Attack complexity is high, so exploitation depends on conditions the attacker does not control. The impact is limited: availability is rated low.

CVSS 3.1 metrics for CVE-2026-140366
Attack vectorLocalExploiting it requires local access to the system, or getting a user to open a crafted file.
Attack complexityHighSuccess depends on conditions outside the attacker's control.
Privileges requiredNoneThe attacker does not need an account.
User interactionRequiredA victim has to take an action, such as opening a link or file.
ConfidentialityNoneNo effect on confidentiality.
IntegrityNoneNo effect on integrity.
AvailabilityLowPartial loss of availability.

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

Weakness: Out-of-bounds Write

The software writes past the end of a buffer, corrupting memory in a way that can crash it or allow code execution.

Classified as CWE-787.

Description

ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a heap buffer overflow in the C++ readImages and montage API that writes a single zero byte past the end of a heap buffer. Attackers able to call these C++ API functions can trigger the out-of-bounds write, corrupting heap memory and potentially crashing the application.

Advisory text as published in the NVD record.

View on NVD