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

Description

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.

Basic information

Type
reviewed
Severity
medium
Advisory on GitHub
Open advisory ↗
Repository advisory
Open repository advisory ↗
Source code
Browse source ↗
Published (advisory)
2026-05-22 13:11:29 UTC
Updated
2026-06-11 14:07:02 UTC
GitHub reviewed
2026-05-22 13:11:29 UTC
NVD published
2026-06-10

EPSS Score

Score Percentile
0.01% 1.29%

CVSS Scores

Base score Version Severity Vector
4.1 3.1
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:H)
They need powerful rights—admin, root, or similar—before this pays off.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.

Identifiers

CWEs

CWE id Name
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
CWE-567 Unsynchronized Access to Shared Data in a Multithreaded Context

Credits

  • SecurinDisclose (reporter)

Affected packages (17)

Vulnerable version ranges and first patched releases as published by GitHub.

Ecosystem Package Vulnerable range First patched Vulnerable functions
nuget Magick.NET-Q16-AnyCPU < 14.12.0 14.12.0
nuget Magick.NET-Q16-HDRI-AnyCPU < 14.12.0 14.12.0
nuget Magick.NET-Q16-HDRI-OpenMP-arm64 < 14.12.0 14.12.0
nuget Magick.NET-Q16-HDRI-arm64 < 14.12.0 14.12.0
nuget Magick.NET-Q16-HDRI-x64 < 14.12.0 14.12.0
nuget Magick.NET-Q16-HDRI-x86 < 14.12.0 14.12.0
nuget Magick.NET-Q16-OpenMP-arm64 < 14.12.0 14.12.0
nuget Magick.NET-Q16-OpenMP-x64 < 14.12.0 14.12.0
nuget Magick.NET-Q16-arm64 < 14.12.0 14.12.0
nuget Magick.NET-Q16-x64 < 14.12.0 14.12.0
nuget Magick.NET-Q16-x86 < 14.12.0 14.12.0
nuget Magick.NET-Q8-AnyCPU < 14.12.0 14.12.0
nuget Magick.NET-Q8-OpenMP-arm64 < 14.12.0 14.12.0
nuget Magick.NET-Q8-OpenMP-x64 < 14.12.0 14.12.0
nuget Magick.NET-Q8-arm64 < 14.12.0 14.12.0
nuget Magick.NET-Q8-x64 < 14.12.0 14.12.0
nuget Magick.NET-Q8-x86 < 14.12.0 14.12.0

References

cvelogic Threat Intelligence