CVE-2023-1289Imagemagick
Medium 5.5
Follow: this CVE · Imagemagick · Imagemagick We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Imagemagick.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| imagemagick | imagemagick | < 7.1.1-0 |
| fedoraproject | extra_packages_for_enterprise_linux | 8.0 |
| fedoraproject | extra_packages_for_enterprise_linux | 9.0 |
| fedoraproject | fedora | 36 |
| fedoraproject | fedora | 37 |
| redhat | enterprise_linux | 8.0 |
| redhat | enterprise_linux | 9.0 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Patch
- github.com Patch
- github.com Exploit Vendor Advisory
- lists.debian.org