# JLSEC-2026-964: ImageMagick: MSL image stack index may fail to refresh, leading to leaked images

- Severity: High 7.5 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-07-30T16:02:27.435Z
- Modified: 2026-07-30T18:35:49.213Z
- Related: CVE-2026-25988, EUVD-2026-7417, GHSA-782x-jh29-9mf7

## 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
```

(As written by Julia Security Advisories.)

## Affected

- ImageMagick_jll (Julia): before 7.1.2023+0

## References

- <https://github.com/ImageMagick/ImageMagick/commit/4354fc1d554ec2e6314aed13536efa7bde9593d2> (web)
- <https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-782x-jh29-9mf7> (web)
- <https://github.com/advisories/GHSA-782x-jh29-9mf7> (web)
- <https://github.com/dlemstra/Magick.NET/releases/tag/14.10.3> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25988> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-964](https://osv.dev/vulnerability/JLSEC-2026-964), CC-BY-4.0, modified 2026-07-30

---

Page: https://cve.day/JLSEC-2026-964 · Whole record: https://cve.day/JLSEC-2026-964.json · Rebuilt by cve.day 2026-11-25T22:56:26.305Z
