#VU30725 Use-after-free in ImageMagick


Published: 2019-10-14 | Updated: 2020-07-17

Vulnerability identifier: #VU30725

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-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 - 7.0.7.7, 7.0.8-0 - 7.0.8-54 Q16


External links
http://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15827
http://github.com/ImageMagick/ImageMagick/commit/39f226a9c137f547e12afde972eeba7551124493
http://github.com/ImageMagick/ImageMagick/compare/7.0.8-54...7.0.8-55
http://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