Skip to content
OpenAdvisories

Description

A vulnerability was discovered in ImageMagick where a specially created SVG file loads itself and causes a segmentation fault. This flaw allows a remote attacker to pass a specially crafted SVG file that leads to a segmentation fault, generating many trash files in "/tmp," resulting in a denial of service. When ImageMagick crashes, it generates a lot of trash files. These trash files can be large if the SVG file contains many render actions. In a denial of service attack, if a remote attacker uploads an SVG file of size t, ImageMagick generates files of size 103*t. If an attacker uploads a 100M SVG, the server will generate about 10G.

Affected products

VendorProductAffectedFixed
— ImageMagick Fixed-in ImageMagick v7.1.1-0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 imagemagick 8:6.9.12.98+dfsg1-2 —
Debian 13 imagemagick 8:6.9.12.98+dfsg1-2 —
Debian 12 imagemagick 8:6.9.11.60+dfsg-1.6+deb12u1 DSA-5628-1
Debian 11 imagemagick 8:6.9.11.60+dfsg-1.3+deb11u3 DSA-5628-1
Debian 10 imagemagick 8:6.9.10.23+dfsg-2.1+deb10u6 DLA-3737-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS imagemagick 8:6.9.11.60+dfsg-1.6ubuntu1 —
Ubuntu 22.04 LTS imagemagick 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5 USN-6200-2
Ubuntu 20.04 LTS imagemagick 8:6.9.10.23+dfsg-2.1ubuntu11.10 USN-6200-2, USN-6200-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS imagemagick 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2 USN-6200-1
Ubuntu Pro 18.04 LTS imagemagick 8:6.9.7.4+dfsg-16ubuntu6.15+esm1 USN-6200-1
Ubuntu Pro 16.04 LTS imagemagick 8:6.8.9.9-7ubuntu5.16+esm8 USN-6200-1
ReleasePackageFixed inAdvisory
SLES 15 SP4 ImageMagick 7.1.0.9-150400.6.15.1 SUSE-SU-2023:1733-1
SLES 15 SP1 ImageMagick 7.0.7.34-150000.3.123.1 SUSE-SU-2023:4634-1
SLES 12 SP5 ImageMagick 6.8.8.1-71.186.1 SUSE-SU-2023:1734-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP1 ImageMagick 7.0.7.34-150000.3.123.1 SUSE-SU-2023:4634-1
SLES for SAP 12 SP5 ImageMagick 6.8.8.1-71.186.1 SUSE-SU-2023:1734-1
SLE Real Time 15 SP3 ImageMagick 7.0.7.34-150200.10.45.1 SUSE-SU-2023:1756-1
SLE HPC 15 SP1 ImageMagick 7.0.7.34-150000.3.123.1 SUSE-SU-2023:4634-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ImageMagick 7.1.1.17-1.1 openSUSE-SU-2024:13263-1
openSUSE Leap 15.4 ImageMagick 7.0.7.34-150200.10.45.1 SUSE-SU-2023:1756-1, SUSE-SU-2023:1733-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 ImageMagick +6 1:6.9.12.82-1.amzn2023.0.1 ALAS2023-2023-150
Amazon Linux 2 ImageMagick +5 6.9.10.97-1.amzn2.0.1 ALAS2-2023-2014

Affected packages

Advisories 12

References