CVE Vulnerabilities

CVE-2019-17541

Use After Free

Published: Oct 14, 2019 | Modified: Nov 21, 2024
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.x
6.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
7.8 MODERATE
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

NameVendorStart VersionEnd Version
ImagemagickImagemagick*6.9.10-55 (excluding)
ImagemagickImagemagick7.0.0-0 (including)7.0.8-55 (excluding)
Red Hat Enterprise Linux 7RedHatautotrace-0:0.31.1-38.el7*
Red Hat Enterprise Linux 7RedHatemacs-1:24.3-23.el7*
Red Hat Enterprise Linux 7RedHatImageMagick-0:6.9.10.68-3.el7*
Red Hat Enterprise Linux 7RedHatinkscape-0:0.92.2-3.el7*
ImagemagickUbuntutrusty*

Potential Mitigations

References