Heap-based buffer overflow in GraphicsMagick - CVE-2019-11505

 

Heap-based buffer overflow in GraphicsMagick - CVE-2019-11505

Published: April 28, 2019


Vulnerability identifier: #VU18359
CSH Severity: Medium
CVSS v4: 7.5 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-11505
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in function WritePDBImage() in coders/pdb.c. A remote attacker can create a specially crafted image file, pass it to the affected application, trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

GraphicsMagick
Debian Linux
Opensuse
SUSE Linux
graphicsmagick (Ubuntu package)
graphicsmagick (Debian package)

How to mitigate CVE-2019-11505

Update to version 1.4 snapshot-20190403 Q8.

graphicsmagick (Ubuntu package) - update to 1.3.28-2ubuntu0.1
graphicsmagick (Debian package) - addressed in versions 1.3.30+hg15796-1~deb9u3, 1.4~hg15978-1+deb10u1

External References

Related Security Bulletins