#VU37725 Out-of-bounds read in GraphicsMagick and Debian Linux


Published: 2017-12-27 | Updated: 2022-12-27

Vulnerability identifier: #VU37725

Vulnerability risk: High

CVSSv3.1: 7.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2017-17915

CWE-ID: CWE-125

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
GraphicsMagick
Universal components / Libraries / Libraries used by multiple products
Debian Linux
Operating systems & Components / Operating system

Vendor: GraphicsMagick Group
Debian

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to heap-based buffer over-read in ReadMNGImage in coders/png.c, related to accessing one byte before testing whether a limit has been reached. A remote attacker can perform a denial of service attack.

Mitigation
Install update from vendor's website.

Vulnerable software versions

GraphicsMagick: 1.3.27

Debian Linux: 1.3.27 - 9.0


External links
http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/1721f1b7e67a
http://lists.debian.org/debian-lts-announce/2018/01/msg00005.html
http://lists.debian.org/debian-lts-announce/2018/06/msg00009.html
http://sourceforge.net/p/graphicsmagick/bugs/535/
http://usn.ubuntu.com/4266-1/
http://www.debian.org/security/2018/dsa-4321


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability