CVE-2025-27796 json
WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation.
published 2025-03-07 20 mo ago modified 2026-07-18 3 mo ago also EUVD-2025-6239 , GHSA-v5xf-gj23-85jx , JLSEC-2026-494
- cvss
- 4.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 32%
- public exploits
- 0
- none known
Summary
ReadWPGImage in WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation, resulting in out-of-bounds access to heap memory in ReadBlob.
Patch / fix
- julia GraphicsMagick_jll 1.3.47+0
- GraphicsMagick GraphicsMagick 1.3.46
- graphicsmagick Debian 14, Debian 13 1.4+really1.3.45+hg17689-1
debian advisories DEBIAN-CVE-2025-27796
- GraphicsMagick openSUSE Tumbleweed 1.3.45-2.1
opensuse advisories openSUSE-SU-2025:14949-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-27796 updated cvss 4.5
GraphicsMagick: Palette Buffer Allocation in GraphicsMagick WPG
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 20 mo ago
Exploit prediction
0.38% chance of exploitation in the next 30 days, higher than 32% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.5 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:L |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | GraphicsMagick_jll | <1.3.47+0 |
1.3.47+0 |
Affected products
- GraphicsMagick GraphicsMagick
Classification
- Weakness
-
- CWE-908 Use of Uninitialized Resource
References
-
foss.heptapod.net
/graphicsmagick/graphicsmagick/-/commit/883ebf8cae6dfa5873d975fe3476b1a188ef3f9f
patch, web
-
graphicsmagick.org
/NEWS.html
release-notes, web
-
sourceforge.net
/p/graphicsmagick/bugs/750/
permissions-required, web
-
github.com
/advisories/GHSA-v5xf-gj23-85jx
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-27796
web
-
sourceforge.net
/p/graphicsmagick/bugs/750
web
Sources
- CVE List CVE-2025-27796
- NVD CVE-2025-27796
- OSV JLSEC-2026-494
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.