Buffer overflow in Imagemagick

CVE-2016-5688

The WPG parser in ImageMagick before 6.9.4-4 and 7.x before 7.0.1-5, when a memory limit is set, allows remote attackers to have unspecified impact via vectors related to the SetImageExtent return-value check, which trigger (1) a heap-based buffer overflow in the SetPixelIndex function or an invalid write operation in the (2) ScaleCharToQuantum or (3) SetPixelIndex functions.

Vulnerability class: Buffer Overflow

EPSS: 0.048 (91.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2016-5688?
CVE-2016-5688 is a high-severity vulnerability in Imagemagick, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 8.1/10. Published 2016-12-13.
How severe is CVE-2016-5688?
High severity. CVSS v3 base score is 8.1 out of 10.