# JLSEC-2026-840: A call to ConformPixelInfo() in the SetImageAlphaChannel() routine of /MagickCore/channel.c caused a subsequent heap-use-after-free or heap…

- 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:43.818Z
- Related: CVE-2020-25663

## Description

A call to ConformPixelInfo() in the SetImageAlphaChannel() routine of `/MagickCore/channel.c` caused a subsequent heap-use-after-free or heap-buffer-overflow READ when GetPixelRed() or GetPixelBlue() was called. This could occur if an attacker is able to submit a malicious image file to be processed by ImageMagick and could lead to denial of service. It likely would not lead to anything further because the memory is used as pixel data and not e.g. a function pointer. This flaw affects ImageMagick versions prior to 7.0.9-0.

(As written by Julia Security Advisories.)

## Affected

- ImageMagick_jll (Julia): before 7.1.0+0

## Every score

- Julia Security Advisories: CVSS:2.0 `AV:N/AC:M/Au:N/C:N/I:N/A:P`
- Julia Security Advisories: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1891601> (web)
- <https://github.com/ImageMagick/ImageMagick/issues/1723> (web)
- <https://github.com/ImageMagick/ImageMagick/issues/1723#issuecomment-718275153> (web)

## Sources

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

---

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