CVE-2025-27796
published 2025-03-07CVE-2025-27796: ReadWPGImage in WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation, resulting in out-of-bounds access to heap memory in ReadBlob.
PriorityP346critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
0.36%
27.9th percentile
ReadWPGImage in WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation, resulting in out-of-bounds access to heap memory in ReadBlob.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | graphicsmagick | < graphicsmagick 1.4+really1.3.45+hg17689-1 (forky) | graphicsmagick 1.4+really1.3.45+hg17689-1 (forky) |
| graphicsmagick | graphicsmagick | < 1.3.46 | 1.3.46 |
| graphicsmagick | graphicsmagick | >= 0 < 1.4+really1.3.45+hg17689-1 | 1.4+really1.3.45+hg17689-1 |
| graphicsmagick | graphicsmagick | >= 0 < 1.4+really1.3.45+hg17689-1 | 1.4+really1.3.45+hg17689-1 |
| graphicsmagick | graphicsmagick | >= 0 < 1.4+really1.3.38-1ubuntu0.1+esm1 | 1.4+really1.3.38-1ubuntu0.1+esm1 |
| graphicsmagick | graphicsmagick | >= 0 < 1.4+really1.3.42-1.1ubuntu0.1~esm1 | 1.4+really1.3.42-1.1ubuntu0.1~esm1 |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
osv9.8CRITICAL
vendor_debian4.5LOW
vendor_ubuntu4.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
graphicsmagick vulnerabilities
osv·2025-04-14·CVSS 7.5
CVE-2025-27795 [HIGH] graphicsmagick vulnerabilities
graphicsmagick vulnerabilities
It was discovered that GraphicsMagick did not properly limit image
dimensions, which could lead to excessive memory consumption. An attacker
could possibly use this issue to cause a denial of service.
(CVE-2025-27795)
It was discovered that GraphicsMagick did not properly handle certain
memory operations, which could lead to a out-of-bounds memory access. An
attacker could possibly use this issue to leak sensitive information.
This issue only affected Ubuntu 24.10. (CVE-2025-27796)
GHSA
GHSA-v5xf-gj23-85jx: WPG in GraphicsMagick before 1
ghsa_unreviewed·2025-03-07
CVE-2025-27796 [MEDIUM] CWE-908 GHSA-v5xf-gj23-85jx: WPG in GraphicsMagick before 1
WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation.
OSV
CVE-2025-27796: ReadWPGImage in WPG in GraphicsMagick before 1
osv·2025-03-07·CVSS 9.8
CVE-2025-27796 [CRITICAL] CVE-2025-27796: ReadWPGImage in WPG in GraphicsMagick before 1
ReadWPGImage in WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation, resulting in out-of-bounds access to heap memory in ReadBlob.
Ubuntu
GraphicsMagick vulnerabilities
vendor_ubuntu·2025-04-14·CVSS 4.3
CVE-2025-27796 [MEDIUM] GraphicsMagick vulnerabilities
Title: GraphicsMagick vulnerabilities
Summary: Several security issues were fixed in GraphicsMagick.
It was discovered that GraphicsMagick did not properly limit image
dimensions, which could lead to excessive memory consumption. An attacker
could possibly use this issue to cause a denial of service.
(CVE-2025-27795)
It was discovered that GraphicsMagick did not properly handle certain
memory operations, which could lead to a out-of-bounds memory access. An
attacker could possibly use this issue to leak sensitive information.
This issue only affected Ubuntu 24.10. (CVE-2025-27796)
Instructions: In general, a standard system update will make all the necessary changes.
Debian
CVE-2025-27796: graphicsmagick - ReadWPGImage in WPG in GraphicsMagick before 1.3.46 mishandles palette buffer al...
vendor_debian·2025·CVSS 4.5
CVE-2025-27796 [MEDIUM] CVE-2025-27796: graphicsmagick - ReadWPGImage in WPG in GraphicsMagick before 1.3.46 mishandles palette buffer al...
ReadWPGImage in WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation, resulting in out-of-bounds access to heap memory in ReadBlob.
Scope: local
bookworm: resolved
bullseye: resolved
forky: resolved (fixed in 1.4+really1.3.45+hg17689-1)
sid: resolved (fixed in 1.4+really1.3.45+hg17689-1)
trixie: resolved (fixed in 1.4+really1.3.45+hg17689-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2025-03-07
Published