# CVE-2025-27796: graphicsmagick: ReadWPGImage in WPG in GraphicsMagick before 1.3.46 mishandles palettebuffer allocation, resulting in out-of-bounds a...

CVE-2025-27796 is fixed in 15 products on 1 platform, first by DEBIAN-CVE-2025-27796, released March 7, 2025. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2025-27796
- Priority: High
- CVSS: 9.8 (Medium)
- EPSS: 0.0039
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Mar 7, 2025

## Description

ReadWPGImage in WPG in GraphicsMagick before 1.3.46 mishandles palettebuffer allocation, resulting in out-of-bounds access to heap memory inReadBlob.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | GraphicsMagick amzn 2023 | 1.3.45-1.amzn2023.0.1 | [ALAS2023-2025-1201](https://patchblox.com/security/data/fix/linux/alas2023-2025-1201.md) | Sep 17, 2025 |
| Linux | GraphicsMagick-c++ amzn 2023 | 1.3.45-1.amzn2023.0.1 | [ALAS2023-2025-1201](https://patchblox.com/security/data/fix/linux/alas2023-2025-1201.md) | Sep 17, 2025 |
| Linux | GraphicsMagick-c++-debuginfo amzn 2023 | 1.3.45-1.amzn2023.0.1 | [ALAS2023-2025-1201](https://patchblox.com/security/data/fix/linux/alas2023-2025-1201.md) | Sep 17, 2025 |
| Linux | GraphicsMagick-c++-devel amzn 2023 | 1.3.45-1.amzn2023.0.1 | [ALAS2023-2025-1201](https://patchblox.com/security/data/fix/linux/alas2023-2025-1201.md) | Sep 17, 2025 |
| Linux | GraphicsMagick-debuginfo amzn 2023 | 1.3.45-1.amzn2023.0.1 | [ALAS2023-2025-1201](https://patchblox.com/security/data/fix/linux/alas2023-2025-1201.md) | Sep 17, 2025 |
| Linux | GraphicsMagick-debugsource amzn 2023 | 1.3.45-1.amzn2023.0.1 | [ALAS2023-2025-1201](https://patchblox.com/security/data/fix/linux/alas2023-2025-1201.md) | Sep 17, 2025 |
| Linux | GraphicsMagick-devel amzn 2023 | 1.3.45-1.amzn2023.0.1 | [ALAS2023-2025-1201](https://patchblox.com/security/data/fix/linux/alas2023-2025-1201.md) | Sep 17, 2025 |
| Linux | GraphicsMagick-doc amzn 2023 | 1.3.45-1.amzn2023.0.1 | [ALAS2023-2025-1201](https://patchblox.com/security/data/fix/linux/alas2023-2025-1201.md) | Sep 17, 2025 |
| Linux | GraphicsMagick-perl amzn 2023 | 1.3.45-1.amzn2023.0.1 | [ALAS2023-2025-1201](https://patchblox.com/security/data/fix/linux/alas2023-2025-1201.md) | Sep 17, 2025 |
| Linux | GraphicsMagick-perl-debuginfo amzn 2023 | 1.3.45-1.amzn2023.0.1 | [ALAS2023-2025-1201](https://patchblox.com/security/data/fix/linux/alas2023-2025-1201.md) | Sep 17, 2025 |
| Linux | graphicsmagick Debian 13.5 (trixie) | 1.4+really1.3.45+hg17689-1 | [DEBIAN-CVE-2025-27796](https://patchblox.com/security/data/fix/linux/debian-cve-2025-27796.md) | Mar 7, 2025 |
| Linux | graphicsmagick Debian 14 | 1.4+really1.3.45+hg17689-1 | [DEBIAN-CVE-2025-27796](https://patchblox.com/security/data/fix/linux/debian-cve-2025-27796.md) | Mar 7, 2025 |
| Linux | graphicsmagick Ubuntu 24.10 (oracular) | 1.4+really1.3.45-1ubuntu0.1 | [graphicsmagick 1.4+really1.3.45-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-graphicsmagick-1.4-really1.3.45-1ubuntu0.1.md) | Jan 16, 2026 |
| Linux | graphicsmagick-imagemagick-compat Ubuntu 24.10 (oracular) | 1.4+really1.3.45-1ubuntu0.1 | [graphicsmagick-imagemagick-compat 1.4+really1.3.45-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-graphicsmagick-imagemagick-compat-1.4-really1.3.45-1ubuntu0.1.md) | Jan 16, 2026 |
| Linux | libgraphics-magick-perl Ubuntu 24.10 (oracular) | 1.4+really1.3.45-1ubuntu0.1 | [libgraphics-magick-perl 1.4+really1.3.45-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libgraphics-magick-perl-1.4-really1.3.45-1ubuntu0.1.md) | Jan 16, 2026 |
| Linux | libgraphicsmagick++-q16-12t64 Ubuntu 24.10 (oracular) | 1.4+really1.3.45-1ubuntu0.1 | [libgraphicsmagick++-q16-12t64 1.4+really1.3.45-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libgraphicsmagick-q16-12t64-1.4-really1.3.45-1ubuntu0.1.md) | Jan 16, 2026 |
| Linux | libgraphicsmagick-q16-3t64 Ubuntu 24.10 (oracular) | 1.4+really1.3.45-1ubuntu0.1 | [libgraphicsmagick-q16-3t64 1.4+really1.3.45-1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libgraphicsmagick-q16-3t64-1.4-really1.3.45-1ubuntu0.1.md) | Jan 16, 2026 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
