# CVE-2017-12936

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2017-08-18 · Modified: 2024-08-05
- Aliases: UBUNTU-CVE-2017-12936, DEBIAN-CVE-2017-12936, ALPINE-CVE-2017-12936
- Record: https://cvemate.com/vulnerability/CVE-2017-12936 · JSON: https://cvemate.com/vulnerability/CVE-2017-12936/json

## Description

```text
The ReadWMFImage function in coders/wmf.c in GraphicsMagick 1.3.26 has a use-after-free issue for data associated with exception reporting.
```

## Signals

- CVSS: 8.8 high (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 25.065%, percentile 97.973%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine graphicsmagick (Alpine Linux): \< 1.3.26-r2
- debian graphicsmagick (Debian): \< 1.3.26-6
- ubuntu graphicsmagick (Ubuntu): \< 1.3.18-1ubuntu3.1+esm3 \| \< 1.3.23-1ubuntu0.3
- debian debian\_linux: 8.0 \| 9.0
- graphicsmagick graphicsmagick: 1.3.26

## References

- <https://www.debian.org/security/2018/dsa-4321>
- <https://lists.debian.org/debian-lts-announce/2018/08/msg00002.html>
- <http://hg.code.sf.net/p/graphicsmagick/code/rev/be898b7c97bd>
- <https://blogs.gentoo.org/ago/2017/08/05/graphicsmagick-use-after-free-in-readwmfimage-wmf-c/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PF62B5PJA2JDUOCKJGUQO3SPL74BEYSV/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WHIKB4TP6KBJWT2UIPWL5MWMG5QXKGEJ/>
- <https://usn.ubuntu.com/4222-1/>
- <https://ubuntu.com/security/CVE-2017-12936>
- <http://www.openwall.com/lists/oss-security/2017/08/18/3>
- <https://ubuntu.com/security/notices/USN-4222-1>
- <https://www.cve.org/CVERecord?id=CVE-2017-12936>
- <https://security-tracker.debian.org/tracker/CVE-2017-12936>
- <https://security.alpinelinux.org/vuln/CVE-2017-12936>

---

Data as of 2026-12-05T06:10:40.368Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
