Use-after-free in ImageMagick ImageMagick



Published: 2019-10-14 | Updated: 2020-07-17
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-17541
CWE-ID CWE-416
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
ImageMagick
Client/Desktop applications / Multimedia software

Vendor ImageMagick.org

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Use-after-free

EUVDB-ID: #VU30725

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 - Use After Free

Exploit availability: No

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.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.



###SIDEBAR###