CVE-2023-1289Improper Input Validation in Imagemagick

Severity
5.5MEDIUMNVD
OSV7.8
EPSS
0.1%
top 72.18%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 23
Latest updateMar 12

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 up

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages6 packages

Debianimagemagick/imagemagick< 8:6.9.11.60+dfsg-1.3+deb11u3+3
Ubuntuimagemagick/imagemagick< 8:6.9.10.23+dfsg-2.1ubuntu11.9+5
CVEListV5imagemagick/imagemagickFixed-in ImageMagick v7.1.1-0
Linuxlinux/linux_kernel4.6.04.14.326+6

Also affects: Fedora 36, 37, Enterprise Linux 8.0, 9.0

Patches

🔴Vulnerability Details

7
OSV
ImageMagick: Specially crafted SVG leads to segmentation fault and generate trash files in "/tmp", possible to leverage DoS2026-03-12
GHSA
ImageMagick: Specially crafted SVG leads to segmentation fault and generate trash files in "/tmp", possible to leverage DoS2026-03-12
OSV
kcm: Fix memory leak in error path of kcm_sendmsg()2025-12-24
OSV
imagemagick vulnerabilities2024-07-25
OSV
imagemagick vulnerabilities2023-07-04

📋Vendor Advisories

5
Red Hat
kernel: kcm: Fix memory leak in error path of kcm_sendmsg()2025-12-24
Ubuntu
ImageMagick vulnerabilities2024-07-25
Ubuntu
ImageMagick vulnerabilities2023-07-04
Red Hat
ImageMagick: Specially crafted SVG leads to segmentation fault and generate trash files in "/tmp", possible to leverage DoS2023-03-09
Debian
CVE-2023-1289: imagemagick - A vulnerability was discovered in ImageMagick where a specially created SVG file...2023
CVE-2023-1289 — Improper Input Validation | cvebase