Skip to content
OpenAdvisories
Medium · 4.5 CVE-2025-27796 EUVD-2025-6239GHSA-v5xf-gj23-85jx

ReadWPGImage in WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation, resulting in out-of-bounds access to heap memory …

Published Mar 7, 2025 · Updated Mar 7, 2025 · Assigned by mitre

Description

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 products

VendorProductAffectedFixed
GraphicsMagick GraphicsMagick < 1.3.46 1.3.46

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 graphicsmagick 1.4+really1.3.45+hg17689-1 —
Debian 13 graphicsmagick 1.4+really1.3.45+hg17689-1 —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed GraphicsMagick 1.3.45-2.1 openSUSE-SU-2025:14949-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 GraphicsMagick +5 1.3.45-1.amzn2023.0.1 ALAS2023-2025-1201

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling graphicsmagick-compat 1.3.46-r0 —

Advisories 3

References