CVE-2023-1289
Reported by redhat · Published March 23, 2023
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Magick.NET-Q16-HDRI-x64 | NuGet | 13.0.0 |
| Magick.NET-Q16-arm64 | NuGet | 13.0.0 |
| magick.net-q16-anycpu | NuGet | 13.0.0 |
| magick.net-q8-openmp-x64 | NuGet | 13.0.0 |
| magick.net-q16-x64 | NuGet | 13.0.0 |
| Magick.NET-Q8-AnyCPU | NuGet | 13.0.0 |
| Magick.NET-Q16-HDRI-x86 | NuGet | 13.0.0 |
| Magick.NET-Q16-OpenMP-x64 | NuGet | 13.0.0 |
| Magick.NET-Q16-HDRI-OpenMP-arm64 | NuGet | 13.0.0 |
| Magick.NET-Q16-HDRI-AnyCPU | NuGet | 13.0.0 |
| Magick.NET-Q8-OpenMP-arm64 | NuGet | 13.0.0 |
| Magick.NET-Q8-x86 | NuGet | 13.0.0 |
4 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | ImageMagick | Fixed-in ImageMagick v7.1.1-0 |
| n/a | ImageMagick | 7.1.1-0 |
Timeline
- Mar 9, 2023 CVE Published
- Mar 9, 2023 PoC Published (46 in total, the first dated here)
- Mar 24, 2023 EPSS Score (30 in total, the first dated here)
- Mar 21, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 21, 2026 Security Advisory (3 in total, the first dated here)
- May 21, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-1289
vulnetix vdb fixes CVE-2023-1289
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-1289/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart