CVE-2025-27796: ReadWPGImage in WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation, resulting in out-of-
CVE-2025-27796 is a medium-severity flaw (CVSS 4.5) affecting graphicsmagick. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
ReadWPGImage in WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation, resulting in out-of-bounds access to heap memory in ReadBlob.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 4.5 (Medium) |
| Attack vector | Local |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.4% (top 67%) |
| CISA exploited list | No |
| Weakness | CWE-908 |
| Published | 2025-03-07 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-27796?
graphicsmagick: upgrade to 1.3.46. Exact commands for each OS are on this page.
Is CVE-2025-27796 being exploited?
CVE-2025-27796 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-27796 affect?
CVE-2025-27796 affects graphicsmagick. Severity is medium (CVSS 4.5). ReadWPGImage in WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation, resulting in out-of-bounds access to heap memory in ReadBlob.
How urgent is CVE-2025-27796?
Priority 24/100. No elevated risk signals yet.
Related CVEs
- CVE-2025-32460 MEDIUM 4.0 UPGRADE GraphicsMagick before 8e56520 has a heap-based buffer over-read in ReadJXLImage in coders/jxl.c, related to an
- CVE-2025-27795 MEDIUM 4.3 UPGRADE ReadJXLImage in JXL in GraphicsMagick before 1.3.46 lacks image dimension resource limits.