CVE-2025-27796
WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation.
ReadWPGImage in WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation, resulting in out-of-bounds access to heap memory in ReadBlob.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
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.
- Record
CVE-2025-27796- CVSS 3.1
- 4.5 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:L - Weakness
- CWE-908
- Updated
- 2026-11-02
EUVDEUVD-2025-6239
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.
- Record
EUVD-2025-6239- CVSS 3.1
- 4.5 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-v5xf-gj23-85jx
4.5
WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation.
WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation.
- Record
GHSA-v5xf-gj23-85jx- CVSS 3.1
- 4.5 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:L - Weakness
- CWE-908
- Updated
- 2026-11-02
NVD
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.
- Record
CVE-2025-27796- CVSS 3.1
- 4.5 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:L - CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-908
- Updated
- 2026-11-02
OSV
9.8
ReadWPGImage in WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation, resulting in out-of-bounds access to heap memory in ReadBlob.
- Record
CVE-2025-27796- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2025-27796
9.8
ReadWPGImage in WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation, resulting in out-of-bounds access to heap memory in ReadBlob.
- Record
DEBIAN-CVE-2025-27796- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVJLSEC-2026-494
9.8
WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation.
ReadWPGImage in WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation, resulting in out-of-bounds access to heap memory in ReadBlob.
- Record
JLSEC-2026-494- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2025:14949-1 No score
GraphicsMagick-1.3.45-2.1 on GA media
These are all security issues fixed in the GraphicsMagick-1.3.45-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:14949-1- Updated
- 2026-11-02
OSVROOT-OS-ALPINE-322-CVE-2025-27796 No score
CVE-2025-27796 in graphicsmagick - Patched by Root
Root has patched CVE-2025-27796 in the graphicsmagick package for Root:Alpine:3.22. Multiple fixed versions available.
- Record
ROOT-OS-ALPINE-322-CVE-2025-27796- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
graphicsmagickDebian:13 |
before 1.4+really1.3.45+hg17689-1 | 1.4+really1.3.45+hg17689-1 |
graphicsmagickDebian:14 |
before 1.4+really1.3.45+hg17689-1 | 1.4+really1.3.45+hg17689-1 |
GraphicsMagick_jllJulia |
before 1.3.47+0 | 1.3.47+0 |
graphicsmagickRoot:Alpine:3.22 |
before 1.3.45-r00073 | 1.3.45-r000731.3.45-r000741.3.45-r00075 |
rootio-graphicsmagickRoot:Alpine:3.22 |
before 1.3.45-r00073 | 1.3.45-r000731.3.45-r000741.3.45-r00075 |
GraphicsMagickopenSUSE:Tumbleweed From an advisory covering 2 CVEs |
before 1.3.45-2.1 | 1.3.45-2.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-27796 is a medium vulnerability (CVSS 4.5) in Graphicsmagick, published March 7, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.39%, the 32nd percentile. Fixed in graphicsmagick 1.4+really1.3.45+hg17689-1.
References
foss.heptapod.net/graphicsmagick/graphicsmagick/-/commit/883ebf8cae6dfa5873d975fe3476b1a188ef3f9f
graphicsmagick.org/NEWS.html
sourceforge.net/p/graphicsmagick/bugs/750
nvd.nist.gov/vuln/detail/CVE-2025-27796
github.com/advisories/GHSA-v5xf-gj23-85jx
security-tracker.debian.org/tracker/CVE-2025-27796
lists.opensuse.org/archives/list/[email protected]/thread/24QCG7UCRKCAUVWHKRASS2RHMWXRXGZ2
suse.com/security/cve/CVE-2025-27795
suse.com/security/cve/CVE-2025-27796