You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
ImageMagick: MSL image stack index may fail to refresh, leading to leaked images
Moderate severity
GitHub Reviewed
Published
Feb 23, 2026
in
ImageMagick/ImageMagick
•
Updated Feb 24, 2026
Sometimes msl.c fails to update the stack index, so an image is stored in the wrong slot and never freed on error, causing leaks.
==841485==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 13512 byte(s) in 1 object(s) allocated from:
#0 0x7ff330759887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145
The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.
Learn more on MITRE.
Sometimes msl.c fails to update the stack index, so an image is stored in the wrong slot and never freed on error, causing leaks.
References