CVE-2023-1289

ImageMagick: Specially crafted SVG leads to segmentation fault and generate trash files in "/tmp", possible to leverage DoS

Published Mar 23, 2023 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3737-1 imagemagick security update
Debian DSA Debian DSA DSA-5628-1 imagemagick security update
Github GHSA Github GHSA GHSA-j96m-mjp6-99xr ImageMagick: Specially crafted SVG leads to segmentation fault and generate trash files in "/tmp", possible to leverage DoS
Ubuntu USN Ubuntu USN USN-6200-1 ImageMagick vulnerabilities
Ubuntu USN Ubuntu USN USN-6200-2 ImageMagick vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 2, 2024, 5:40 AM
Reserved
Mar 9, 2023, 12:00 AM
Status
Modified
Published
Mar 23, 2023, 8:15 PM
Modified
Jun 17, 2026, 5:27 AM
Severity
Low
Public date
Mar 9, 2023, 12:00 AM