Vulnerability · Published Mar 23, 2023 · Assigned by redhat

CVE-2023-1289

Medium 5.5

In plain English

A medium-severity improper input validation in ImageMagick. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.9%top 41.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12imagemagick8:6.9.11.60+dfsg-1.6+deb12u1DEBIAN-CVE-2023-1289
Debian:12imagemagick8:6.9.11.60+dfsg-1.6+deb12u1DSA-5628-1
Debian:13imagemagick8:6.9.12.98+dfsg1-2DEBIAN-CVE-2023-1289
Debian:14imagemagick8:6.9.12.98+dfsg1-2DEBIAN-CVE-2023-1289
NuGetmagick.net-q16-anycpu13.0.0GHSA-j96m-mjp6-99xr
NuGetmagick.net-q16-arm6413.0.0GHSA-j96m-mjp6-99xr
NuGetmagick.net-q16-hdri-anycpu13.0.0GHSA-j96m-mjp6-99xr
NuGetmagick.net-q16-hdri-arm6413.0.0GHSA-j96m-mjp6-99xr
NuGetmagick.net-q16-hdri-openmp-arm6413.0.0GHSA-j96m-mjp6-99xr
NuGetmagick.net-q16-hdri-openmp-x6413.0.0GHSA-j96m-mjp6-99xr
NuGetmagick.net-q16-hdri-x6413.0.0GHSA-j96m-mjp6-99xr
NuGetmagick.net-q16-hdri-x8613.0.0GHSA-j96m-mjp6-99xr
NuGetmagick.net-q16-openmp-arm6413.0.0GHSA-j96m-mjp6-99xr
NuGetmagick.net-q16-openmp-x6413.0.0GHSA-j96m-mjp6-99xr
NuGetmagick.net-q16-openmp-x8613.0.0GHSA-j96m-mjp6-99xr
NuGetmagick.net-q16-x6413.0.0GHSA-j96m-mjp6-99xr
NuGetmagick.net-q16-x8613.0.0GHSA-j96m-mjp6-99xr
NuGetmagick.net-q8-anycpu13.0.0GHSA-j96m-mjp6-99xr
NuGetmagick.net-q8-arm6413.0.0GHSA-j96m-mjp6-99xr
NuGetmagick.net-q8-openmp-arm6413.0.0GHSA-j96m-mjp6-99xr
NuGetmagick.net-q8-openmp-x6413.0.0GHSA-j96m-mjp6-99xr
NuGetmagick.net-q8-x6413.0.0GHSA-j96m-mjp6-99xr
NuGetmagick.net-q8-x8613.0.0GHSA-j96m-mjp6-99xr
Ubuntu:22.04:LTSimagemagick8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5USN-6200-2
Ubuntu:22.04:LTSimagemagick8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5UBUNTU-CVE-2023-1289
Ubuntu:24.04:LTSimagemagick8:6.9.11.60+dfsg-1.6ubuntu1UBUNTU-CVE-2023-1289

Affected products (as reported)

VendorProductVersions
n/a ImageMagick Fixed-in ImageMagick v7.1.1-0

Weakness: CWE-20

References