Vulnerabilities / CVE-2025-27796

critical

CVE-2025-27796

ReadWPGImage in WPG in GraphicsMagick before 1.3.46 mishandles palette ...

Published Modified CWE 908
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Julia9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Julia. Rated lower by Amazon (medium), Ubuntu (medium).

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 packages and fixed versions

SourcePackageFixed in
julia::Julia Ecosystem Security AdvisoriesGraphicsMagick_jll1.3.47+0
amazon linux 2023GraphicsMagick, GraphicsMagick-c++, GraphicsMagick-c++-debuginfo and 7 more1.3.45-1.amzn2023.0.1
chainguardgraphicsmagick1.3.46-r0
debian 13graphicsmagick1.4+really1.3.45+hg17689-1
debian 14graphicsmagick1.4+really1.3.45+hg17689-1
rapidfort alpine 3.20graphicsmagick1.3.46-r0
rapidfort alpine 3.21graphicsmagick1.3.46-r0
rapidfort alpine 3.22graphicsmagick1.3.46-r0
rapidfort alpine 3.24graphicsmagick1.3.46-r0
rapidfort amazon linux 2023GraphicsMagick, GraphicsMagick-c++, GraphicsMagick-c++-devel and 3 more1.3.45-1.amzn2023.0.1
rapidfort debian 12graphicsmagick0:1.4+really1.3.45+hg17689-1
rapidfort debian 13graphicsmagick0:1.4+really1.3.45+hg17689-1
Show all 28 entries from 14 sources
SourcePackageFixed in
julia::Julia Ecosystem Security AdvisoriesGraphicsMagick_jll1.3.47+0
amazon linux 2023GraphicsMagick1.3.45-1.amzn2023.0.1
amazon linux 2023GraphicsMagick-c++1.3.45-1.amzn2023.0.1
amazon linux 2023GraphicsMagick-c++-debuginfo1.3.45-1.amzn2023.0.1
amazon linux 2023GraphicsMagick-c++-devel1.3.45-1.amzn2023.0.1
amazon linux 2023GraphicsMagick-debuginfo1.3.45-1.amzn2023.0.1
amazon linux 2023GraphicsMagick-debugsource1.3.45-1.amzn2023.0.1
amazon linux 2023GraphicsMagick-devel1.3.45-1.amzn2023.0.1
amazon linux 2023GraphicsMagick-doc1.3.45-1.amzn2023.0.1
amazon linux 2023GraphicsMagick-perl1.3.45-1.amzn2023.0.1
amazon linux 2023GraphicsMagick-perl-debuginfo1.3.45-1.amzn2023.0.1
chainguardgraphicsmagick1.3.46-r0
debian 13graphicsmagick1.4+really1.3.45+hg17689-1
debian 14graphicsmagick1.4+really1.3.45+hg17689-1
rapidfort alpine 3.20graphicsmagick1.3.46-r0
rapidfort alpine 3.21graphicsmagick1.3.46-r0
rapidfort alpine 3.22graphicsmagick1.3.46-r0
rapidfort alpine 3.24graphicsmagick1.3.46-r0
rapidfort amazon linux 2023GraphicsMagick1.3.45-1.amzn2023.0.1
rapidfort amazon linux 2023GraphicsMagick-c++1.3.45-1.amzn2023.0.1
rapidfort amazon linux 2023GraphicsMagick-c++-devel1.3.45-1.amzn2023.0.1
rapidfort amazon linux 2023GraphicsMagick-devel1.3.45-1.amzn2023.0.1
rapidfort amazon linux 2023GraphicsMagick-doc1.3.45-1.amzn2023.0.1
rapidfort amazon linux 2023GraphicsMagick-perl1.3.45-1.amzn2023.0.1
rapidfort debian 12graphicsmagick0:1.4+really1.3.45+hg17689-1
rapidfort debian 13graphicsmagick0:1.4+really1.3.45+hg17689-1
ubuntu 24.10graphicsmagick1.4+really1.3.45-1ubuntu0.1
wolfigraphicsmagick1.3.46-r0

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.