Use After Free in Imagemagick

CVE-2017-12671

In ImageMagick 7.0.6-3, a missing NULL assignment was found in coders/png.c, leading to an invalid free in the function RelinquishMagickMemory in MagickCore/memory.c, which allows attackers to cause a denial of service.

Vulnerability class: Use-After-Free

EPSS: 0.011 (62.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

  • cve@mitre.org (x_refsource_CONFIRM, Patch, Third Party Advisory, Issue Tracking)
  • cve@mitre.org (vendor-advisory, x_refsource_DEBIAN)

Frequently asked questions

What is CVE-2017-12671?
CVE-2017-12671 is a medium-severity vulnerability in Imagemagick, classified under Use After Free. CVSS score: 6.5/10. Published 2017-08-07.
How severe is CVE-2017-12671?
Medium severity. CVSS v3 base score is 6.5 out of 10.