Live threats

All CVEs / Imagemagick

CVE-2023-1289Imagemagick

Medium 5.5

Priority
33
CVSS 3.1
5.5
EPSS
0.5%
probability of exploitation in 30 days · percentile 38
Auth required
Yes
Published
Mar 23, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Imagemagick.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
NuGet Magick.NET-Q16-AnyCPU < 13.0.0 13.0.0 dotnet add package Magick.NET-Q16-AnyCPU --version 13.0.0
NuGet Magick.NET-Q16-arm64 < 13.0.0 13.0.0 dotnet add package Magick.NET-Q16-arm64 --version 13.0.0
NuGet Magick.NET-Q16-HDRI-AnyCPU < 13.0.0 13.0.0 dotnet add package Magick.NET-Q16-HDRI-AnyCPU --version 13.0.0
NuGet Magick.NET-Q16-HDRI-arm64 < 13.0.0 13.0.0 dotnet add package Magick.NET-Q16-HDRI-arm64 --version 13.0.0
NuGet Magick.NET-Q16-HDRI-OpenMP-arm64 < 13.0.0 13.0.0 dotnet add package Magick.NET-Q16-HDRI-OpenMP-arm64 --version 13.0.0
NuGet Magick.NET-Q16-HDRI-OpenMP-x64 < 13.0.0 13.0.0 dotnet add package Magick.NET-Q16-HDRI-OpenMP-x64 --version 13.0.0
NuGet Magick.NET-Q16-HDRI-x64 < 13.0.0 13.0.0 dotnet add package Magick.NET-Q16-HDRI-x64 --version 13.0.0
NuGet Magick.NET-Q16-HDRI-x86 < 13.0.0 13.0.0 dotnet add package Magick.NET-Q16-HDRI-x86 --version 13.0.0
NuGet Magick.NET-Q16-OpenMP-arm64 < 13.0.0 13.0.0 dotnet add package Magick.NET-Q16-OpenMP-arm64 --version 13.0.0
NuGet Magick.NET-Q16-OpenMP-x64 < 13.0.0 13.0.0 dotnet add package Magick.NET-Q16-OpenMP-x64 --version 13.0.0
NuGet Magick.NET-Q16-OpenMP-x86 < 13.0.0 13.0.0 dotnet add package Magick.NET-Q16-OpenMP-x86 --version 13.0.0
NuGet Magick.NET-Q16-x64 < 13.0.0 13.0.0 dotnet add package Magick.NET-Q16-x64 --version 13.0.0
NuGet Magick.NET-Q16-x86 < 13.0.0 13.0.0 dotnet add package Magick.NET-Q16-x86 --version 13.0.0
NuGet Magick.NET-Q8-AnyCPU < 13.0.0 13.0.0 dotnet add package Magick.NET-Q8-AnyCPU --version 13.0.0
NuGet Magick.NET-Q8-arm64 < 13.0.0 13.0.0 dotnet add package Magick.NET-Q8-arm64 --version 13.0.0
NuGet Magick.NET-Q8-OpenMP-arm64 < 13.0.0 13.0.0 dotnet add package Magick.NET-Q8-OpenMP-arm64 --version 13.0.0
NuGet Magick.NET-Q8-OpenMP-x64 < 13.0.0 13.0.0 dotnet add package Magick.NET-Q8-OpenMP-x64 --version 13.0.0
NuGet Magick.NET-Q8-x64 < 13.0.0 13.0.0 dotnet add package Magick.NET-Q8-x64 --version 13.0.0
NuGet Magick.NET-Q8-x86 < 13.0.0 13.0.0 dotnet add package Magick.NET-Q8-x86 --version 13.0.0

Per OSV / GitHub Advisories (GHSA-j96m-mjp6-99xr). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
imagemagickimagemagick< 7.1.1-0
fedoraprojectextra_packages_for_enterprise_linux8.0
fedoraprojectextra_packages_for_enterprise_linux9.0
fedoraprojectfedora36
fedoraprojectfedora37
redhatenterprise_linux8.0
redhatenterprise_linux9.0

Official sources

References

Links published by the sources. Open them with care.