# JLSEC-2026-1004: ImageMagick has an off-by-one error in MSL decoder could result in crash

- Severity: Medium 5.5 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/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:42.046Z
- Related: CVE-2026-40312, EUVD-2026-22132, GHSA-5xg3-585r-9jh5

## Description

ImageMagick is free and open-source software used for editing and manipulating digital images. In versions below 7.1.2-19, an off by one error in the MSL decoder could result in a crash when a malicous MSL file is read. This issue has been fixed in version 7.1.2-19.

(As written by Julia Security Advisories.)

## Affected

- ImageMagick_jll (Julia): before 7.1.2023+0

## References

- <https://github.com/ImageMagick/ImageMagick/commit/2a06c7be3bba3326caf8b7a8d1fa2e0d4b88998d> (web)
- <https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-19> (web)
- <https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-5xg3-585r-9jh5> (web)
- <https://github.com/advisories/GHSA-5xg3-585r-9jh5> (web)
- <https://github.com/dlemstra/Magick.NET/releases/tag/14.12.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40312> (web)

## Sources

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

---

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