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


| Updated: 2022-12-27

Vulnerability identifier: #VU37725

Vulnerability risk: High

CVSSv4.0: 6.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

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
https://hg.graphicsmagick.org/hg/GraphicsMagick/rev/1721f1b7e67a
https://lists.debian.org/debian-lts-announce/2018/01/msg00005.html
https://lists.debian.org/debian-lts-announce/2018/06/msg00009.html
https://sourceforge.net/p/graphicsmagick/bugs/535/
https://usn.ubuntu.com/4266-1/
https://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