# JLSEC-2026-494: WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation.

- Severity: Critical 9.8 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-05-13T01:42:44.063Z
- Modified: 2026-07-18T00:02:07.169Z
- Related: CVE-2025-27796, GHSA-v5xf-gj23-85jx, EUVD-2025-6239

## Description

ReadWPGImage in WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation, resulting in out-of-bounds access to heap memory in ReadBlob.

(As written by Julia Security Advisories.)

## Affected

- GraphicsMagick_jll (Julia): before 1.3.47+0

## References

- <http://www.graphicsmagick.org/NEWS.html> (web)
- <https://foss.heptapod.net/graphicsmagick/graphicsmagick/-/commit/883ebf8cae6dfa5873d975fe3476b1a188ef3f9f> (web)
- <https://github.com/advisories/GHSA-v5xf-gj23-85jx> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-27796> (web)
- <https://sourceforge.net/p/graphicsmagick/bugs/750> (web)
- <https://sourceforge.net/p/graphicsmagick/bugs/750/> (web)

## Sources

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

---

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