Launch Week Day 1: Announcing Security Design Review
MEDIUM 5.3 NuGet

ImageMagick: MSL image stack index may fail to refresh, leading to leaked images

GHSA-782x-jh29-9mf7 · CVE-2026-25988

Published · Modified

Description

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

Ready to move

Start Securing

Free, no credit card | First findings in minutes