Buffer overflow in Graphicsmagick

CVE-2017-14042

A memory allocation failure was discovered in the ReadPNMImage function in coders/pnm.c in GraphicsMagick 1.3.26. The vulnerability causes a big memory allocation, which may lead to remote denial of service in the MagickRealloc function in magick/memory.c.

Vulnerability class: Buffer Overflow

EPSS: 0.024 (82.2th 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 (VDB Entry, Third Party Advisory, vdb-entry, x_refsource_BID)
  • cve@mitre.org (Exploit, Patch, VDB Entry, Third Party Advisory, x_refsource_MISC)
  • cve@mitre.org (Patch, Third Party Advisory, x_refsource_MISC, Issue Tracking)
  • cve@mitre.org (x_refsource_UBUNTU, vendor-advisory)

Frequently asked questions

What is CVE-2017-14042?
CVE-2017-14042 is a medium-severity vulnerability in Graphicsmagick, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 6.5/10. Published 2017-08-30.
How severe is CVE-2017-14042?
Medium severity. CVSS v3 base score is 6.5 out of 10.