Every CVE Search/ Get API key

CVE-2017-12936

The ReadWMFImage function in coders/wmf.c in GraphicsMagick 1.3.26 has a use-after-free issue for...

8.8 HighFix available

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

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

25.1%Up 23.4 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 8.8

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

Record
CVE-2017-12936
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-416
Updated
2026-11-02
CVE List No score

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

Record
CVE-2017-12936
Updated
2026-11-02
EUVDEUVD-2017-4460 No score

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

Record
EUVD-2017-4460
Updated
2026-11-03
GitHub AdvisoriesGHSA-2xwm-j535-wh92 8.8

The ReadWMFImage function in coders/wmf.c in GraphicsMagick 1.3.26 has a use-after-free issue for...

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

Record
GHSA-2xwm-j535-wh92
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-416
Updated
2026-11-02
OSVALPINE-CVE-2017-12936 8.8

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

Record
ALPINE-CVE-2017-12936
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-03
OSV 8.8

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

Record
CVE-2017-12936
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 5 moreShow less
OSVDEBIAN-CVE-2017-12936 8.8

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

Record
DEBIAN-CVE-2017-12936
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2017-12936 8.8

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

Record
UBUNTU-CVE-2017-12936
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2017-0297 No score

Updated graphicsmagick packages fix security vulnerability

Invalid memory read in SetImageColorCallBack() in image.c (CVE-2017-12935).

Use-after-free in ReadWMFImage() in wmf.c (CVE-2017-12936).

Heap-based buffer overflow in ReadSUNImage() in sun.c (CVE-2017-12937).

Record
MGASA-2017-0297
Updated
2026-11-02
OSVSUSE-SU-2017:3056-1 No score

Security update for GraphicsMagick

This update for GraphicsMagick fixes the following issues:

  • CVE-2017-15033: A denial of service attack (memory leak) in ReadYUVImage in coders/yuv.c was fixed (bsc#1061873)
  • CVE-2017-13063: A heap-based buffer overflow vulnerability in the function GetStyleTokens in coders/svg.c was fixed (bsc#1055050)
  • CVE-2017-13064: A heap-based buffer overflow vulnerability in the function GetStyleTokens in coders/svg.c was fixed (bsc#1055042)
  • CVE-2017-12936: The ReadWMFImage function in coders/wmf.c in GraphicsMagick had a use-after-free issue for data associated with exception reporting. (bsc#1054598)
  • CVE-2017-13139: The ReadOneMNGImage function in coders/png.c had an out-of-bounds read with the MNG CLIP chunk. (bsc#1055430)
  • CVE-2017-12937: The ReadSUNImage function in coders/sun.c in GraphicsMagick had a colormap heap-based buffer over-read. (bsc#1054596)
  • CVE-2017-11534: A Memory Leak in the lite_font_map() function in coders/wmf.c was fixed (bsc#1050135)
Record
SUSE-SU-2017:3056-1
Updated
2026-11-02
OSVUSN-4222-1 No score

graphicsmagick vulnerabilities

It was discovered that GraphicsMagick incorrectly handled certain image files. An attacker could possibly use this issue to cause a denial of service or other unspecified impact.

Record
USN-4222-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
graphicsmagick
Alpine:v3.10
before 1.3.26-r2
1.3.26-r2
graphicsmagick
Alpine:v3.11
before 1.3.26-r2
1.3.26-r2
graphicsmagick
Alpine:v3.12
before 1.3.26-r2
1.3.26-r2
graphicsmagick
Alpine:v3.13
before 1.3.26-r2
1.3.26-r2
graphicsmagick
Alpine:v3.14
before 1.3.26-r2
1.3.26-r2
graphicsmagick
Alpine:v3.15
before 1.3.26-r2
1.3.26-r2
graphicsmagick
Alpine:v3.16
before 1.3.26-r2
1.3.26-r2
graphicsmagick
Alpine:v3.17
before 1.3.26-r2
1.3.26-r2
graphicsmagick
Alpine:v3.18
before 1.3.26-r2
1.3.26-r2
graphicsmagick
Alpine:v3.19
before 1.3.26-r2
1.3.26-r2
Show 18 moreShow less
Affected packages
PackageAffectedFixed
graphicsmagick
Alpine:v3.20
before 1.3.26-r2
1.3.26-r2
graphicsmagick
Alpine:v3.21
before 1.3.26-r2
1.3.26-r2
graphicsmagick
Alpine:v3.22
before 1.3.26-r2
1.3.26-r2
graphicsmagick
Alpine:v3.23
before 1.3.26-r2
1.3.26-r2
graphicsmagick
Alpine:v3.24
before 1.3.26-r2
1.3.26-r2
graphicsmagick
Alpine:v3.9
before 1.3.26-r2
1.3.26-r2
graphicsmagick
Debian:12
before 1.3.26-6
1.3.26-6
graphicsmagick
Debian:13
before 1.3.26-6
1.3.26-6
graphicsmagick
Debian:14
before 1.3.26-6
1.3.26-6
graphicsmagick
Debian:7
before 1.3.16-1.1+deb7u9, plus listed versions
1.3.16-1.11.3.16-1.1+deb7u11.3.16-1.1+deb7u21.3.16-1.1+deb7u31.3.16-1.1+deb7u4
Show 4 moreShow less
1.3.16-1.1+deb7u51.3.16-1.1+deb7u61.3.16-1.1+deb7u71.3.16-1.1+deb7u8
1.3.16-1.1+deb7u9
graphicsmagick
Debian:8
before 1.3.20-3+deb8u4, plus listed versions
1.3.20-3+deb8u11.3.20-3+deb8u21.3.20-3+deb8u3
1.3.20-3+deb8u4
graphicsmagick
Debian:9
before 1.3.30+hg15796-1~deb9u1, plus listed versions
1.3.25-81.3.26-11.3.26-101.3.26-111.3.26-12
Show 24 moreShow less
1.3.26-131.3.26-141.3.26-151.3.26-161.3.26-171.3.26-181.3.26-191.3.26-21.3.26-31.3.26-41.3.26-51.3.26-61.3.26-71.3.26-81.3.26-91.3.27-11.3.27-21.3.27-31.3.27-41.3.28-11.3.28-21.3.29+hg15665-11.3.29-11.3.30-1
1.3.30+hg15796-1~deb9u1
graphicsmagick
Mageia:5
before 1.3.26-1.2.mga5
1.3.26-1.2.mga5
graphicsmagick
Mageia:6
before 1.3.26-1.3.mga6
1.3.26-1.3.mga6
GraphicsMagick
SUSE:Linux Enterprise Software Development Kit 11 SP4
before 1.2.5-4.78.16.1
1.2.5-4.78.16.1
GraphicsMagick
SUSE:Studio Onsite 1.3
before 1.2.5-4.78.16.1
1.2.5-4.78.16.1
graphicsmagick
Ubuntu:Pro:14.04:LTS
before 1.3.18-1ubuntu3.1+esm3, plus listed versions
1.3.16-1.1ubuntu21.3.16-1.1ubuntu31.3.18-1ubuntu31.3.18-1ubuntu3.11.3.18-1ubuntu3.1+esm11.3.18-1ubuntu3.1+esm2
1.3.18-1ubuntu3.1+esm3
graphicsmagick
Ubuntu:16.04:LTS
before 1.3.23-1ubuntu0.3, plus listed versions
1.3.21-31.3.23-11.3.23-1build11.3.23-1ubuntu0.11.3.23-1ubuntu0.2
1.3.23-1ubuntu0.3

History

History
RecordedChangedSources
affected, aliases, referencesOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-12936 is a high vulnerability (CVSS 8.8) in Graphicsmagick, published August 18, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 25.1%, the 97th percentile. Fixed in graphicsmagick 1.3.26-r2.

References

Show 44 moreShow less
MoveEnter Open