#VU30725 Use-after-free in ImageMagick - CVE-2019-17541


| Updated: 2020-07-17

Vulnerability identifier: #VU30725

Vulnerability risk: High

CVSSv4.0: 5.7 [CVSS:4.0/AV:L/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-2019-17541

CWE-ID: CWE-416

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
ImageMagick
Client/Desktop applications / Multimedia software

Vendor: ImageMagick.org

Description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

ImageMagick before 7.0.8-55 has a use-after-free in DestroyStringInfo in MagickCore/string.c because the error manager is mishandled in coders/jpeg.c.

Mitigation
Install update from vendor's website.

Vulnerable software versions

ImageMagick: 7.0.0-0, 7.0.1-0 - 7.0.1-10, 7.0.2-0 - 7.0.2-10, 7.0.3-0 - 7.0.3-10, 7.0.4-0 - 7.0.4-10, 7.0.5-0 - 7.0.5-10, 7.0.6-0 - 7.0.6-10, 7.0.7-0 Q16 - 7.0.7-39, 7.0.8-0 - 7.0.8-54


External links
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15827
https://github.com/ImageMagick/ImageMagick/commit/39f226a9c137f547e12afde972eeba7551124493
https://github.com/ImageMagick/ImageMagick/compare/7.0.8-54...7.0.8-55
https://github.com/ImageMagick/ImageMagick/issues/1641


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