# JLSEC-2026-956: Image Magick has a Memory Leak in coders/ashlar.c

- 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-08-07T19:30:03.867Z
- Related: CVE-2026-25969, GHSA-xgm3-v4r9-wfgm, EUVD-2026-7431

## Description

Memory leak exists in `coders/ashlar.c`. The `WriteASHLARImage` allocates a structure.  However, when an exception is thrown, the allocated memory is not properly released, resulting in a potential memory leak.

```
==78968== Memcheck, a memory error detector
==78968== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==78968== Using Valgrind-3.22.0 and LibVEX; rerun with -h for copyright info
==78968== 
==78968== HEAP SUMMARY:
==78968==     in use at exit: 17,232 bytes in 4 blocks
==78968==   total heap usage: 4,781 allocs, 4,777 frees, 785,472 bytes allocated
```

(As written by Julia Security Advisories.)

## Affected

- ImageMagick_jll (Julia): before 7.1.2023+0

## References

- <https://github.com/ImageMagick/ImageMagick/commit/a253d1b124ebdcc2832daac6f9a35c362635b40e> (web)
- <https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-xgm3-v4r9-wfgm> (web)
- <https://github.com/advisories/GHSA-xgm3-v4r9-wfgm> (web)
- <https://github.com/dlemstra/Magick.NET/releases/tag/14.10.3> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25969> (web)

## Sources

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

---

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