#VU62906 Integer overflow in ImageMagick


Published: 2022-05-10 | Updated: 2022-05-10

Vulnerability identifier: #VU62906

Vulnerability risk: Medium

CVSSv3.1: 7.7 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-25675

CWE-ID: CWE-190

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
ImageMagick
Client/Desktop applications / Multimedia software

Vendor: ImageMagick.org

Description

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

The vulnerability exists due to integer overflow in the CropImage() and CropImageToTiles() functions in MagickCore/transform.c. A remote attacker can pass specially crafted data to the application, trigger integer overflow and execute arbitrary code on the target system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

ImageMagick: 7.0.8-0 - 7.0.8-69, 7.0.6 - 7.0.6-10, 7.0.7 - 7.0.7.7, 7.0.9, 7.0.5-0 - 7.0.5-10, 7.0.4-0 - 7.0.4-10, 7.0.3-0 - 7.0.3-10, 7.0.2-0 - 7.0.2-10, 7.0.1-0 - 7.0.1-10, 7.0.0-0


External links
http://bugzilla.redhat.com/show_bug.cgi?id=1891933
http://github.com/ImageMagick/ImageMagick/commit/64dc80b2e1907f7f20bf34d4df9483f938b0de71
http://github.com/ImageMagick/ImageMagick/issues/1731


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user 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