CVE-2023-1289
MEDIUM 5.5CVSS 3.1ImageMagick: Specially crafted SVG leads to segmentation fault and generate trash files in "/tmp", possible to leverage DoS
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.
- Published
- 23 Mar 2023
- Last modified
- 8 Jul 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-20CWE-400
- Also known as
- GHSA-j96m-mjp6-99xr
- Sources
- NVDJSONOSV GHSA-j96m-mjp6-99xrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | imagemagick | imagemagickcpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* |
< 7.1.1-0 | 7.1.1-0 |
| NVD | fedoraproject | extra_packages_for_enterprise_linuxcpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | fedoraproject | extra_packages_for_enterprise_linuxcpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* |
= 36 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* |
= 37 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| OSV | NuGet | Magick.NET-Q16-AnyCPU | < 13.0.0 | 13.0.0 |
| OSV | NuGet | Magick.NET-Q16-HDRI-AnyCPU | < 13.0.0 | 13.0.0 |
| OSV | NuGet | Magick.NET-Q16-HDRI-OpenMP-arm64 | < 13.0.0 | 13.0.0 |
| OSV | NuGet | Magick.NET-Q16-HDRI-arm64 | < 13.0.0 | 13.0.0 |
| OSV | NuGet | Magick.NET-Q16-HDRI-x64 | < 13.0.0 | 13.0.0 |
| OSV | NuGet | Magick.NET-Q16-HDRI-x86 | < 13.0.0 | 13.0.0 |
| OSV | NuGet | Magick.NET-Q16-OpenMP-arm64 | < 13.0.0 | 13.0.0 |
| OSV | NuGet | Magick.NET-Q16-OpenMP-x64 | < 13.0.0 | 13.0.0 |
| OSV | NuGet | Magick.NET-Q16-OpenMP-x86 | < 13.0.0 | 13.0.0 |
| OSV | NuGet | Magick.NET-Q16-arm64 | < 13.0.0 | 13.0.0 |
| OSV | NuGet | Magick.NET-Q16-x64 | < 13.0.0 | 13.0.0 |
| OSV | NuGet | Magick.NET-Q16-x86 | < 13.0.0 | 13.0.0 |
| OSV | NuGet | Magick.NET-Q16-HDRI-OpenMP-x64 | < 13.0.0 | 13.0.0 |
| OSV | NuGet | Magick.NET-Q8-AnyCPU | < 13.0.0 | 13.0.0 |
| OSV | NuGet | Magick.NET-Q8-OpenMP-arm64 | < 13.0.0 | 13.0.0 |
| OSV | NuGet | Magick.NET-Q8-OpenMP-x64 | < 13.0.0 | 13.0.0 |
| OSV | NuGet | Magick.NET-Q8-arm64 | < 13.0.0 | 13.0.0 |
| OSV | NuGet | Magick.NET-Q8-x64 | < 13.0.0 | 13.0.0 |
| OSV | NuGet | Magick.NET-Q8-x86 | < 13.0.0 | 13.0.0 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2176858 · Issue Tracking, Patch, WEB
- https://github.com/ImageMagick/ImageMagick/commit/c5b23cbf2119540725e6dc81f4deb25798ead6a4 · Patch, WEB
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-j96m-mjp6-99xr · Exploit, Vendor Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2024/02/msg00007.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-1289 · ADVISORY
- https://github.com/ImageMagick/ImageMagick · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 23 Mar 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 Mar 2026)