CVE-2026-48724

ImageMagick: Heap Buffer Underwrite in Floyd-Steinberg depth dithering

Published Jun 10, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to version 7.1.2-24, when using an image with mask the Floyd-Steinberg dithering method it will cause a negative heap buffer over-write. This issue has been patched in version 7.1.2-24.

Analysis

AI-generated

Technical impact

The vulnerability is a negative heap buffer underwrite that occurs when ImageMagick processes an image with a mask using the Floyd‑Steinberg dithering method. The underwrite can corrupt adjacent heap memory, potentially causing crashes, data corruption, or, in the presence of exploitable code, arbitrary code execution. It is listed under CWE‑124 and CWE‑787 and is mitigated in version 7.1.2‑24.

Affected Systems

The vulnerability affects ImageMagick by ImageMagick. Any installation older than version 7.1.2‑24 that uses Floyd‑Steinberg dithering on masked images is susceptible. Versions 7.1.2‑24 and later contain the patch.

Risk and Exploitability

The CVSS score of 5.5 gives it a medium severity. The EPSS score is 0.00013, indicating a very low exploitation probability, and the issue is not listed in CISA KEV. Likely attack vector involves a crafted image file that the software processes; the vulnerability could be exploited locally by an attacker who can supply such a file, or remotely if the image is handled in a publicly exposed service. No evidence of active exploitation is public.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to ImageMagick 7.1.2‑24 or later, where the buffer underwrite is fixed.
  • If upgrading is unavailable, disable Floyd‑Steinberg dithering or avoid processing masked images with that algorithm until a patch can be applied.
  • Restrict access to image‑processing services so that only trusted users or applications can supply images, and validate image inputs before processing.

Generated by OpenCVE AI on June 12, 2026 at 01:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6356-1 imagemagick security update
Github GHSA Github GHSA GHSA-2hhq-c99x-492r ImageMagick has a Heap Buffer Underwrite in the Floyd-Steinberg depth dithering method
History
Type Values Removed Values Added
CPEs cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Imagemagick
Imagemagick imagemagick
Vendors & Products Imagemagick
Imagemagick imagemagick
Type Values Removed Values Added
Description ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to version 7.1.2-24, when using an image with mask the Floyd-Steinberg dithering method it will cause a negative heap buffer over-write. This issue has been patched in version 7.1.2-24.
Title ImageMagick: Heap Buffer Underwrite in Floyd-Steinberg depth dithering
Weaknesses CWE-787
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-124

    Buffer Underwrite ('Buffer Underflow')

  • CWE-787

    Out-of-bounds Write

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 11, 2026, 2:35 PM
Reserved
May 22, 2026, 6:47 PM
Status
Analyzed
Published
Jun 10, 2026, 11:16 PM
Modified
Jul 23, 2026, 9:10 AM
Severity
Moderate
Public date
Jun 10, 2026, 9:52 PM