Time-of-check Time-of-use (TOCTOU) Race Condition in ImageMagick - #VU133103
Published: May 31, 2026
ImageMagick
Detailed vulnerability description
The vulnerability allows a local user to create or truncate files that are disallowed by the security policy.
The vulnerability exists due to time-of-check time-of-use race condition in the policy check logic when handling file creation or truncation operations. A local user can trigger an incorrect check to create or truncate files that are disallowed by the security policy.
This is relevant for sandboxed conversion services that rely on ImageMagick path policies for write-boundary enforcement.