{"id":"CVE-2025-27796","aliases":["DEBIAN-CVE-2025-27796","EUVD-2025-6239","GHSA-v5xf-gj23-85jx","JLSEC-2026-494","ROOT-OS-ALPINE-322-CVE-2025-27796","openSUSE-SU-2025:14949-1"],"status":"published","title":"WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation.","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.","severity":{"version":"3.1","score":4.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00383,"percentile":0.32625,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-908"],"published":"2025-03-07T00:00:00Z","modified":"2026-09-29T10:16:07Z","fixes":[{"ecosystem":"Debian:13","package":"graphicsmagick","fixed_in":["1.4+really1.3.45+hg17689-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"graphicsmagick","fixed_in":["1.4+really1.3.45+hg17689-1"],"sources":["osv"]},{"ecosystem":"Julia","package":"GraphicsMagick_jll","fixed_in":["1.3.47+0"],"sources":["osv"]},{"ecosystem":"Root:Alpine:3.22","package":"graphicsmagick","fixed_in":["1.3.45-r00073","1.3.45-r00074","1.3.45-r00075"],"sources":["osv"]},{"ecosystem":"Root:Alpine:3.22","package":"rootio-graphicsmagick","fixed_in":["1.3.45-r00073","1.3.45-r00074","1.3.45-r00075"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:13","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4+really1.3.45+hg17689-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4+really1.3.45+hg17689-1"}]}]},{"source":"osv","ecosystem":"Julia","package":"GraphicsMagick_jll","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.3.47+0"}]}]},{"source":"osv","ecosystem":"Root:Alpine:3.22","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.45-r00073"},{"fixed":"1.3.45-r00074"},{"fixed":"1.3.45-r00075"}]}]},{"source":"osv","ecosystem":"Root:Alpine:3.22","package":"rootio-graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.45-r00073"},{"fixed":"1.3.45-r00074"},{"fixed":"1.3.45-r00075"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"GraphicsMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.45-2.1"}]}],"bundled":2}],"products":[{"vendor":"graphicsmagick","product":"graphicsmagick"}],"references":[{"url":"https://foss.heptapod.net/graphicsmagick/graphicsmagick/-/commit/883ebf8cae6dfa5873d975fe3476b1a188ef3f9f","tags":["Patch","fix","web"]},{"url":"http://www.graphicsmagick.org/NEWS.html","tags":["Release Notes","advisory","web"]},{"url":"https://sourceforge.net/p/graphicsmagick/bugs/750/","tags":["Permissions Required","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27796","tags":["web"]},{"url":"https://sourceforge.net/p/graphicsmagick/bugs/750","tags":["web"]},{"url":"https://github.com/advisories/GHSA-v5xf-gj23-85jx","tags":["web"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-27796","tags":["advisory"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/24QCG7UCRKCAUVWHKRASS2RHMWXRXGZ2/","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2025-27795","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2025-27796","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2025-27796","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.","status":"published","published":"2025-03-07T00:00:00Z","modified":"2025-03-07T21:32:29.8Z","cvss":[{"version":"3.1","score":4.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-908"],"updated_at":"2026-11-02T14:32:42.411662Z"}],"euvd":[{"id":"EUVD-2025-6239","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.","status":"published","published":"2025-03-07T00:00:00Z","modified":"2025-03-07T21:32:29Z","cvss":[{"version":"3.1","score":4.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T20:53:10.22972Z"}],"ghsa":[{"id":"GHSA-v5xf-gj23-85jx","title":"WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation.","description":"WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation.","status":"published","published":"2025-03-07T06:30:33Z","modified":"2025-03-07T18:32:10Z","cvss":[{"version":"3.1","score":4.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:L","level":"medium"}],"cwes":["CWE-908"],"updated_at":"2026-11-02T15:00:11.427911Z"}],"nvd":[{"id":"CVE-2025-27796","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.","status":"published","published":"2025-03-07T06:15:35.62Z","modified":"2026-06-17T09:04:14.4Z","cvss":[{"version":"3.1","score":4.5,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"cwes":["CWE-908"],"updated_at":"2026-11-02T14:10:53.101324Z"}],"osv":[{"id":"CVE-2025-27796","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.","status":"published","published":"2025-03-07T06:15:35.62Z","modified":"2026-04-10T05:24:17.84842Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:47.708311Z"},{"id":"DEBIAN-CVE-2025-27796","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.","status":"published","published":"2025-03-07T06:15:35.62Z","modified":"2026-09-01T20:05:45.309748728Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:45.870237Z"},{"id":"JLSEC-2026-494","title":"WPG in GraphicsMagick before 1.3.46 mishandles palette buffer allocation.","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.","status":"published","published":"2026-05-13T01:42:44.063Z","modified":"2026-07-18T00:02:07.169324383Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:47:18.573531Z"},{"id":"openSUSE-SU-2025:14949-1","title":"GraphicsMagick-1.3.45-2.1 on GA media","description":"These are all security issues fixed in the GraphicsMagick-1.3.45-2.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2025-04-02T00:00:00Z","modified":"2025-05-07T18:16:47.4736Z","updated_at":"2026-11-02T16:58:37.399567Z"},{"id":"ROOT-OS-ALPINE-322-CVE-2025-27796","title":"CVE-2025-27796 in graphicsmagick - Patched by Root","description":"Root has patched CVE-2025-27796 in the graphicsmagick package for Root:Alpine:3.22. Multiple fixed versions available.","status":"published","published":"2026-09-29T09:19:40Z","modified":"2026-09-29T10:16:07.807027316Z","updated_at":"2026-11-02T15:53:28.544053Z"}]}}
