CVE-2017-13658

MEDIUM

Description

In ImageMagick before 6.9.9-3 and 7.x before 7.0.6-3, there is a missing NULL check in the ReadMATImage function in coders/mat.c, leading to a denial of service (assertion failure and application exit) in the DestroyImageInfo function in MagickCore/image.c.

References

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870019

https://github.com/ImageMagick/ImageMagick/commit/e5c063a1007506ba69e97a35effcdef944421c89

https://github.com/ImageMagick/ImageMagick/issues/598

https://lists.debian.org/debian-lts-announce/2019/05/msg00015.html

Details

Source: MITRE

Published: 2017-08-24

Updated: 2019-10-03

Type: CWE-617

Risk Information

CVSS v2.0

Base Score: 4.3

Vector: AV:N/AC:M/Au:N/C:N/I:N/A:P

Impact Score: 2.9

Exploitability Score: 8.6

Severity: MEDIUM

CVSS v3.0

Base Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Impact Score: 3.6

Exploitability Score: 2.8

Severity: MEDIUM