# JLSEC-2026-859: WritePALMImage() in /coders/palm.c used sizet casts in several areas of a calculation which could lead to values outside the range of repre…

- Severity: Low 3.3 (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:L`
- 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:46.290Z
- Related: CVE-2020-27761

## Description

WritePALMImage() in `/coders/palm.c` used `size_t` casts in several areas of a calculation which could lead to values outside the range of representable type `unsigned long` undefined behavior when a crafted input file was processed by ImageMagick. The patch casts to `ssize_t` instead to avoid this issue. Red Hat Product Security marked the Severity as Low because although it could potentially lead to an impact to application availability, no specific impact was shown in this case. This flaw affects ImageMagick versions prior to ImageMagick 7.0.9-0.

(As written by Julia Security Advisories.)

## Affected

- ImageMagick_jll (Julia): before 6.9.12+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 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1894679> (web)
- <https://lists.debian.org/debian-lts-announce/2021/03/msg00030.html> (web)
- <https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html> (web)

## Sources

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

---

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