Skip to content
Fencer Intel
high 8.8

CVE-2017-12937 json

The ReadSUNImage function in coders/sun.c in GraphicsMagick 1.3.26 has a colormap heap-based buffer over-read.

published 2017-08-18 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-4461

cvss
8.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.3%
EPSS 2.3% chance of exploitation in 30 days, percentile 83%
public exploits
0
none known

Summary

The ReadSUNImage function in coders/sun.c in GraphicsMagick 1.3.26 has a colormap heap-based buffer over-read.

Patch / fix

  • graphicsmagick Debian 14, Debian 13, Debian 12 1.3.26-6

debian advisories DEBIAN-CVE-2017-12937

  • graphicsmagick Ubuntu 16.04 LTS 1.3.23-1ubuntu0.3
  • graphicsmagick Ubuntu Pro 14.04 LTS 1.3.18-1ubuntu3.1+esm3

ubuntu advisories UBUNTU-CVE-2017-12937

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • GraphicsMagick Studio Onsite 1.3, SLE Software Development Kit 11 SP4 1.2.5-4.78.16.1

suse advisories SUSE-SU-2017:3056-1

  • graphicsmagick Alpine 3.24, Alpine 3.23, Alpine 3.22 +13 more 1.3.26-r2

alpine advisories ALPINE-CVE-2017-12937

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • graphicsmagick Arch Linux 1.3.27-1

arch linux advisories AVG-355

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-2017-12937 updated cvss 3.3

GraphicsMagick: Multiple vulnerabilities

  • Red Hat All currently supported Red Hat products
    not 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

Exploit prediction

2.31% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 8.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

Weakness

References

Sources

Fencer Intel 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.