{"id":"JLSEC-2026-964","aliases":["JLSEC-2026-964"],"related":["CVE-2026-25988","EUVD-2026-7417","GHSA-782x-jh29-9mf7"],"kind":"vulnerability","state":"published","title":"ImageMagick: MSL image stack index may fail to refresh, leading to leaked images","summary":"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.\n\n```\n==841485==ERROR: LeakSanitizer: detected memory leaks\n\nDirect leak of 13512 byte(s) in 1 object(s) allocated from:\n    #0 0x7ff330759887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145\n```","summaryFormat":"markdown","summarySource":"jlsec","descriptions":[{"lang":"en","text":"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.\n\n```\n==841485==ERROR: LeakSanitizer: detected memory leaks\n\nDirect leak of 13512 byte(s) in 1 object(s) allocated from:\n    #0 0x7ff330759887 in __interceptor_malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:145\n```","format":"markdown","source":"jlsec"}],"published":"2026-07-30T16:02:27.435Z","modified":"2026-07-30T18:35:49.213Z","severity":{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"7.1.2023+0"}],"ecosystem":"Julia","package":"ImageMagick_jll","purl":"pkg:julia/ImageMagick_jll?uuid=c73af94c-d91f-53ed-93a7-00f77d67a9d7","source":"jlsec"}],"references":[{"url":"https://github.com/ImageMagick/ImageMagick/commit/4354fc1d554ec2e6314aed13536efa7bde9593d2","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-782x-jh29-9mf7","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/advisories/GHSA-782x-jh29-9mf7","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/dlemstra/Magick.NET/releases/tag/14.10.3","tags":["web"],"sources":["jlsec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25988","tags":["web"],"sources":["jlsec"]}],"credits":["ylwango613"],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2026-964","url":"https://osv.dev/vulnerability/JLSEC-2026-964","licence":"CC-BY-4.0","modified":"2026-07-30T18:35:49.213Z"}],"updatedAt":"2026-11-25T22:56:26.305Z"}