CVE-2017-16547

MEDIUM

Description

The DrawImage function in magick/render.c in GraphicsMagick 1.3.26 does not properly look for pop keywords that are associated with push keywords, which allows remote attackers to cause a denial of service (negative strncpy and application crash) or possibly have unspecified other impact via a crafted file.

References

http://hg.code.sf.net/p/graphicsmagick/code/rev/785758bbbfcc

https://lists.debian.org/debian-lts-announce/2017/11/msg00016.html

https://lists.debian.org/debian-lts-announce/2018/08/msg00002.html

https://sourceforge.net/p/graphicsmagick/bugs/517/

https://www.debian.org/security/2018/dsa-4321

Details

Source: MITRE

Published: 2017-11-06

Updated: 2018-10-18

Type: CWE-20

Risk Information

CVSS v2.0

Base Score: 6.8

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

Impact Score: 6.4

Exploitability Score: 8.6

Severity: MEDIUM

CVSS v3.0

Base Score: 8.8

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

Impact Score: 5.9

Exploitability Score: 2.8

Severity: HIGH