Out-of-bounds read in ImageMagick - CVE-2020-13902
Published: June 29, 2020
Vulnerability identifier: #VU29368
CSH Severity: Medium
CVSS v4: 6.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-13902
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to heap-based buffer over-read in "BlobToStringInfo" in "MagickCore/string.c" during TIFF image decoding. A remote attacker can trigger out-of-bounds read error and read contents of memory on the system.
Affected software
ImageMagick
Arch Linux
imagemagick (Alpine package)
Arch Linux
imagemagick (Alpine package)
How to mitigate CVE-2020-13902
Install update from vendor's website.
ImageMagick - update to 7.0.10-20
imagemagick (Alpine package) - update to 7.0.10.25-r0
imagemagick (Alpine package) - update to 7.0.10.25-r0