# JLSEC-2026-878: An integer overflow issue was discovered in ImageMagick's ExportIndexQuantum() function in MagickCore/quantum-export.c.

- 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:23:49.019Z
- Related: CVE-2021-20224

## Description

An integer overflow issue was discovered in ImageMagick's ExportIndexQuantum() function in `MagickCore/quantum-export.c`. Function calls to GetPixelIndex() could result in values outside the range of representable for the 'unsigned char'. When ImageMagick processes a crafted pdf file, this could lead to an undefined behaviour or a crash.

(As written by Julia Security Advisories.)

## Affected

- ImageMagick_jll (Julia): before 6.9.12+0

## References

- <https://github.com/ImageMagick/ImageMagick/commit/5af1dffa4b6ab984b5f13d1e91c95760d75f12a6> (web)
- <https://github.com/ImageMagick/ImageMagick/pull/3083> (web)
- <https://github.com/ImageMagick/ImageMagick6/commit/553054c1cb1e4e05ec86237afef76a32cd7c464d> (web)
- <https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html> (web)

## Sources

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

---

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