CVE-2026-46693

ImageMagick: Race Condition in distributed pixel cache server can result in file descriptor hijacking

Published Jun 10, 2026 CVSS 3.1 · 4.1 Medium EPSS < 1% KEV · Not listed
Description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 6.9.13-48 and 7.1.2-23, an attacker who can connect to a magick -distribute-cache service can hijack a file descriptor in the server process when a race condition is met. This issue has been patched in versions 6.9.13-48 and 7.1.2-23.

Analysis

AI-generated

Technical impact

An attacker who can connect to the distributed pixel cache service of ImageMagick can trigger a race condition that results in the server process hijacking a file descriptor. This flaw is identified as a race condition with incomplete synchronization, highlighting a concurrency issue in the handling of shared resources.

Affected Systems

ImageMagick installations built prior to versions 6.9.13-48 and 7.1.2-23 are affected. The vulnerability applies when the distributed pixel cache service (magick -distribute-cache) is exposed to potential attackers.

Risk and Exploitability

The CVSS score of 4.1 indicates moderate impact. The EPSS score of less than 1 % shows a very low probability of exploitation. The vulnerability is not listed in CISA’s KEV catalog. Exploitation requires the attacker to be able to connect to the distributed cache service, implying that exposure of this service to untrusted networks is a prerequisite.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ImageMagick to version 6.9.13‑48 or 7.1.2‑23 or later, where the race condition has been fixed.
  • If an upgrade is not possible, disable or block external access to the magick -distribute-cache service so that attackers cannot trigger the race condition.
  • Configure firewalls or network segmentation to restrict the distributed cache service to trusted hosts only, reducing the exposure of the vulnerable functionality.

Generated by OpenCVE AI on June 13, 2026 at 02:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4609-1 imagemagick security update
Debian DSA Debian DSA DSA-6298-1 imagemagick security update
Debian DSA Debian DSA DSA-6310-1 imagemagick security update
Github GHSA Github GHSA GHSA-4g75-9r48-jf92 ImageMagick: Race Condition in distributed pixel cache server can result in file descriptor hijacking
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 versions 6.9.13-48 and 7.1.2-23, an attacker who can connect to a magick -distribute-cache service can hijack a file descriptor in the server process when a race condition is met. This issue has been patched in versions 6.9.13-48 and 7.1.2-23.
Title ImageMagick: Race Condition in distributed pixel cache server can result in file descriptor hijacking
Weaknesses CWE-362
CWE-567
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

  • CWE-567

    Unsynchronized Access to Shared Data in a Multithreaded Context

  • CWE-910

    Use of Expired File Descriptor

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 11, 2026, 1:12 PM
Reserved
May 15, 2026, 11:26 PM
Status
Analyzed
Published
Jun 10, 2026, 11:16 PM
Modified
Jul 23, 2026, 9:10 AM
Severity
Low
Public date
Jun 10, 2026, 9:47 PM