CVE & CISA-KEV Catalog

CVE-2023-1289

MEDIUM
5.5
CVSS v3
NVD

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.

How to fix

Remediation Available
imagemagickDebian
Fixed in:8:6.9.11.60+dfsg-1.3+deb11u3CVE-2023-1289
Fixed in:8:6.9.11.60+dfsg-1.6+deb12u1CVE-2023-1289
Fixed in:8:6.9.12.98+dfsg1-2CVE-2023-1289
Fixed in:8:6.9.12.98+dfsg1-2CVE-2023-1289
imagemagickUbuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm8USN-6200-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm1USN-6200-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.9USN-6200-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.10USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.10.5USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.6ubuntu0.23.04.1USN-6200-1
imagemagick-6-commonUbuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm1USN-6200-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.9USN-6200-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.10USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.10.5USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.6ubuntu0.23.04.1USN-6200-1
imagemagick-6.q16Ubuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm8USN-6200-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm1USN-6200-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.9USN-6200-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.10USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.10.5USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.6ubuntu0.23.04.1USN-6200-1
imagemagick-6.q16hdriUbuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm1USN-6200-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.10USN-6200-2
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.9USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.10.5USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.6ubuntu0.23.04.1USN-6200-1
imagemagick-commonUbuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm8USN-6200-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm1USN-6200-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.9USN-6200-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.10USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.10.5USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.6ubuntu0.23.04.1USN-6200-1
libimage-magick-perlUbuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm8USN-6200-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm1USN-6200-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.9USN-6200-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.10USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.10.5USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.6ubuntu0.23.04.1USN-6200-1
libimage-magick-q16-perlUbuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm8USN-6200-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm1USN-6200-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.10USN-6200-2
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.9USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.10.5USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.6ubuntu0.23.04.1USN-6200-1
libimage-magick-q16hdri-perlUbuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.10USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5USN-6200-2
libmagick++-6-headersUbuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.10USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5USN-6200-2
libmagick++-6.q16-5v5Ubuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm8USN-6200-1
libmagick++-6.q16-7Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm1USN-6200-1
libmagick++-6.q16-8Ubuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.9USN-6200-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.10USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.10.5USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.6ubuntu0.23.04.1USN-6200-1
libmagick++-6.q16-devUbuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm8USN-6200-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm1USN-6200-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.9USN-6200-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.10USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.10.5USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.6ubuntu0.23.04.1USN-6200-1
libmagick++-6.q16hdri-7Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm1USN-6200-1
libmagick++-6.q16hdri-8Ubuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.9USN-6200-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.10USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.10.5USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.6ubuntu0.23.04.1USN-6200-1
libmagick++-6.q16hdri-devUbuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm1USN-6200-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.10USN-6200-2
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.9USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.10.5USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.6ubuntu0.23.04.1USN-6200-1
libmagick++-devUbuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm8USN-6200-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm1USN-6200-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.10USN-6200-2
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.9USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.10.5USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.6ubuntu0.23.04.1USN-6200-1
libmagickcore-6-headersUbuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm8USN-6200-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm1USN-6200-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.9USN-6200-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.10USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.10.5USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.6ubuntu0.23.04.1USN-6200-1
libmagickcore-6.q16-2Ubuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm8USN-6200-1
libmagickcore-6.q16-3Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm1USN-6200-1
libmagickcore-6.q16-6Ubuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.10USN-6200-2
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.9USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.10.5USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.6ubuntu0.23.04.1USN-6200-1
libmagickcore-6.q16-devUbuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm8USN-6200-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm1USN-6200-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.10USN-6200-2
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.9USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.10.5USN-6200-1
libmagickcore-6.q16hdri-3Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm1USN-6200-1
libmagickcore-6.q16hdri-6Ubuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.9USN-6200-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.10USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.10.5USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.6ubuntu0.23.04.1USN-6200-1
libmagickcore-6.q16hdri-devUbuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.10USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5USN-6200-2
libmagickcore-devUbuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm8USN-6200-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm1USN-6200-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.10USN-6200-2
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.9USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.10.5USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.6ubuntu0.23.04.1USN-6200-1
libmagickwand-6-headersUbuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.10USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5USN-6200-2
libmagickwand-6.q16-2Ubuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm8USN-6200-1
libmagickwand-6.q16-3Ubuntu
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm1USN-6200-1
libmagickwand-6.q16-6Ubuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.10USN-6200-2
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.9USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.10.5USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.6ubuntu0.23.04.1USN-6200-1
libmagickwand-6.q16-devUbuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm8USN-6200-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm1USN-6200-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.9USN-6200-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.10USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.10.5USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.6ubuntu0.23.04.1USN-6200-1
libmagickwand-6.q16hdri-6Ubuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.10USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5USN-6200-2
libmagickwand-6.q16hdri-devUbuntu
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.10USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5USN-6200-2
libmagickwand-devUbuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm8USN-6200-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm1USN-6200-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.9USN-6200-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.10USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.10.5USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.6ubuntu0.23.04.1USN-6200-1
perlmagickUbuntu
Fixed in:8:6.8.9.9-7ubuntu5.16+esm8USN-6200-1
Fixed in:8:6.9.7.4+dfsg-16ubuntu6.15+esm1USN-6200-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.9USN-6200-1
Fixed in:8:6.9.10.23+dfsg-2.1ubuntu11.10USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5USN-6200-2
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.04.3+esm2USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.3ubuntu0.22.10.5USN-6200-1
Fixed in:8:6.9.11.60+dfsg-1.6ubuntu0.23.04.1USN-6200-1
ImageMagick Q16Windows application
Affected:7.1.1-0Fixed in:7.1.1-0ImageMagick Studio LLC
ImageMagick Q16-HDRIWindows application
Affected:7.1.1-0Fixed in:7.1.1-0ImageMagick Studio LLC

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Exploit Intelligence

0.86%probability of exploitation in 30 days
54thpercentile

Moderate risk: more likely to be exploited than 54% of all known CVEs.

References

Related Vulnerabilities

Other CWE-20 (Improper Input Validation) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-3400Critical10.0100%KEV + Ransom-
CVE-2021-45105Medium5.9100%-Fix
CVE-2021-44228Critical10.0100%KEV + RansomFix
CVE-2021-21985Critical9.8100%KEV + RansomFix
CVE-2018-7600Critical9.8100%KEV + RansomFix
CVE-2020-3452High7.5100%KEVFix
Embed a live status badge for CVE-2023-1289
CVE-2023-1289 severity badge

Markdown

[![CVE-2023-1289](https://tridentstack.com/cve/badge/CVE-2023-1289.svg)](https://tridentstack.com/cve/CVE-2023-1289)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-1289"><img src="https://tridentstack.com/cve/badge/CVE-2023-1289.svg" alt="CVE-2023-1289"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.