Improper input validation in ImageMagick
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-400.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | ImageMagick | Fixed-in ImageMagick v7.1.1-0 | — | No fix listed | CNA |
| — | Magick.NET-Q16-AnyCPU (NuGet) | before 13.0.0 | 13.0.0 | Patch available | GHSA-j96m-mjp6-99xr |
| — | Magick.NET-Q16-HDRI-AnyCPU (NuGet) | before 13.0.0 | 13.0.0 | Patch available | GHSA-j96m-mjp6-99xr |
| — | Magick.NET-Q16-HDRI-OpenMP-arm64 (NuGet) | before 13.0.0 | 13.0.0 | Patch available | GHSA-j96m-mjp6-99xr |
| — | Magick.NET-Q16-HDRI-arm64 (NuGet) | before 13.0.0 | 13.0.0 | Patch available | GHSA-j96m-mjp6-99xr |
| — | Magick.NET-Q16-HDRI-x64 (NuGet) | before 13.0.0 | 13.0.0 | Patch available | GHSA-j96m-mjp6-99xr |
| — | Magick.NET-Q16-HDRI-x86 (NuGet) | before 13.0.0 | 13.0.0 | Patch available | GHSA-j96m-mjp6-99xr |
| — | Magick.NET-Q16-OpenMP-arm64 (NuGet) | before 13.0.0 | 13.0.0 | Patch available | GHSA-j96m-mjp6-99xr |
| — | Magick.NET-Q16-OpenMP-x64 (NuGet) | before 13.0.0 | 13.0.0 | Patch available | GHSA-j96m-mjp6-99xr |
| — | Magick.NET-Q16-OpenMP-x86 (NuGet) | before 13.0.0 | 13.0.0 | Patch available | GHSA-j96m-mjp6-99xr |
| — | Magick.NET-Q16-arm64 (NuGet) | before 13.0.0 | 13.0.0 | Patch available | GHSA-j96m-mjp6-99xr |
| — | Magick.NET-Q16-x64 (NuGet) | before 13.0.0 | 13.0.0 | Patch available | GHSA-j96m-mjp6-99xr |
| — | Magick.NET-Q16-x86 (NuGet) | before 13.0.0 | 13.0.0 | Patch available | GHSA-j96m-mjp6-99xr |
| — | Magick.NET-Q16-HDRI-OpenMP-x64 (NuGet) | before 13.0.0 | 13.0.0 | Patch available | GHSA-j96m-mjp6-99xr |
| — | Magick.NET-Q8-AnyCPU (NuGet) | before 13.0.0 | 13.0.0 | Patch available | GHSA-j96m-mjp6-99xr |
| — | Magick.NET-Q8-OpenMP-arm64 (NuGet) | before 13.0.0 | 13.0.0 | Patch available | GHSA-j96m-mjp6-99xr |
| — | Magick.NET-Q8-OpenMP-x64 (NuGet) | before 13.0.0 | 13.0.0 | Patch available | GHSA-j96m-mjp6-99xr |
| — | Magick.NET-Q8-arm64 (NuGet) | before 13.0.0 | 13.0.0 | Patch available | GHSA-j96m-mjp6-99xr |
| — | Magick.NET-Q8-x64 (NuGet) | before 13.0.0 | 13.0.0 | Patch available | GHSA-j96m-mjp6-99xr |
| — | Magick.NET-Q8-x86 (NuGet) | before 13.0.0 | 13.0.0 | Patch available | GHSA-j96m-mjp6-99xr |
- ImageMagick Vendor— Affected Fixed-in ImageMagick v7.1.1-0 Fixed in — No fix listed CNA
- Magick.NET-Q16-AnyCPU (NuGet) Vendor— Affected before 13.0.0 Fixed in 13.0.0 Patch available GHSA-j96m-mjp6-99xr
- Magick.NET-Q16-HDRI-AnyCPU (NuGet) Vendor— Affected before 13.0.0 Fixed in 13.0.0 Patch available GHSA-j96m-mjp6-99xr
- Magick.NET-Q16-HDRI-OpenMP-arm64 (NuGet) Vendor— Affected before 13.0.0 Fixed in 13.0.0 Patch available GHSA-j96m-mjp6-99xr
- Magick.NET-Q16-HDRI-arm64 (NuGet) Vendor— Affected before 13.0.0 Fixed in 13.0.0 Patch available GHSA-j96m-mjp6-99xr
- Magick.NET-Q16-HDRI-x64 (NuGet) Vendor— Affected before 13.0.0 Fixed in 13.0.0 Patch available GHSA-j96m-mjp6-99xr
- Magick.NET-Q16-HDRI-x86 (NuGet) Vendor— Affected before 13.0.0 Fixed in 13.0.0 Patch available GHSA-j96m-mjp6-99xr
- Magick.NET-Q16-OpenMP-arm64 (NuGet) Vendor— Affected before 13.0.0 Fixed in 13.0.0 Patch available GHSA-j96m-mjp6-99xr
- Magick.NET-Q16-OpenMP-x64 (NuGet) Vendor— Affected before 13.0.0 Fixed in 13.0.0 Patch available GHSA-j96m-mjp6-99xr
- Magick.NET-Q16-OpenMP-x86 (NuGet) Vendor— Affected before 13.0.0 Fixed in 13.0.0 Patch available GHSA-j96m-mjp6-99xr
- Magick.NET-Q16-arm64 (NuGet) Vendor— Affected before 13.0.0 Fixed in 13.0.0 Patch available GHSA-j96m-mjp6-99xr
- Magick.NET-Q16-x64 (NuGet) Vendor— Affected before 13.0.0 Fixed in 13.0.0 Patch available GHSA-j96m-mjp6-99xr
- Magick.NET-Q16-x86 (NuGet) Vendor— Affected before 13.0.0 Fixed in 13.0.0 Patch available GHSA-j96m-mjp6-99xr
- Magick.NET-Q16-HDRI-OpenMP-x64 (NuGet) Vendor— Affected before 13.0.0 Fixed in 13.0.0 Patch available GHSA-j96m-mjp6-99xr
- Magick.NET-Q8-AnyCPU (NuGet) Vendor— Affected before 13.0.0 Fixed in 13.0.0 Patch available GHSA-j96m-mjp6-99xr
- Magick.NET-Q8-OpenMP-arm64 (NuGet) Vendor— Affected before 13.0.0 Fixed in 13.0.0 Patch available GHSA-j96m-mjp6-99xr
- Magick.NET-Q8-OpenMP-x64 (NuGet) Vendor— Affected before 13.0.0 Fixed in 13.0.0 Patch available GHSA-j96m-mjp6-99xr
- Magick.NET-Q8-arm64 (NuGet) Vendor— Affected before 13.0.0 Fixed in 13.0.0 Patch available GHSA-j96m-mjp6-99xr
- Magick.NET-Q8-x64 (NuGet) Vendor— Affected before 13.0.0 Fixed in 13.0.0 Patch available GHSA-j96m-mjp6-99xr
- Magick.NET-Q8-x86 (NuGet) Vendor— Affected before 13.0.0 Fixed in 13.0.0 Patch available GHSA-j96m-mjp6-99xr
CPE configurations NVD · 7
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* | before 7.1.1-0 | Vulnerable | ImageMagick |
| cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Fedoraproject |
| cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* | 36 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* | 37 | Vulnerable | Fedoraproject |
| cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Red Hat |
- cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* Versions before 7.1.1-0 Vulnerable ·ImageMagick
- cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Fedoraproject
- cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* Versions 36 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* Versions 37 Vulnerable ·Fedoraproject
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Red Hat
Remediation
- Fix · GHSA-j96m-mjp6-99xr Magick.NET-Q16-AnyCPU (NuGet) Fixed in 13.0.0 Advisory →
- Fix · GHSA-j96m-mjp6-99xr Magick.NET-Q16-HDRI-AnyCPU (NuGet) Fixed in 13.0.0 Advisory →
- Fix · GHSA-j96m-mjp6-99xr Magick.NET-Q16-HDRI-OpenMP-arm64 (NuGet) Fixed in 13.0.0 Advisory →
- Fix · GHSA-j96m-mjp6-99xr Magick.NET-Q16-HDRI-arm64 (NuGet) Fixed in 13.0.0 Advisory →
- Fix · GHSA-j96m-mjp6-99xr Magick.NET-Q16-HDRI-x64 (NuGet) Fixed in 13.0.0 Advisory →
- Fix · GHSA-j96m-mjp6-99xr Magick.NET-Q16-HDRI-x86 (NuGet) Fixed in 13.0.0 Advisory →
- Fix · GHSA-j96m-mjp6-99xr Magick.NET-Q16-OpenMP-arm64 (NuGet) Fixed in 13.0.0 Advisory →
- Fix · GHSA-j96m-mjp6-99xr Magick.NET-Q16-OpenMP-x64 (NuGet) Fixed in 13.0.0 Advisory →
- Fix · GHSA-j96m-mjp6-99xr Magick.NET-Q16-OpenMP-x86 (NuGet) Fixed in 13.0.0 Advisory →
- Fix · GHSA-j96m-mjp6-99xr Magick.NET-Q16-arm64 (NuGet) Fixed in 13.0.0 Advisory →
- Fix · GHSA-j96m-mjp6-99xr Magick.NET-Q16-x64 (NuGet) Fixed in 13.0.0 Advisory →
- Fix · GHSA-j96m-mjp6-99xr Magick.NET-Q16-x86 (NuGet) Fixed in 13.0.0 Advisory →
- Fix · GHSA-j96m-mjp6-99xr Magick.NET-Q16-HDRI-OpenMP-x64 (NuGet) Fixed in 13.0.0 Advisory →
- Fix · GHSA-j96m-mjp6-99xr Magick.NET-Q8-AnyCPU (NuGet) Fixed in 13.0.0 Advisory →
- Fix · GHSA-j96m-mjp6-99xr Magick.NET-Q8-OpenMP-arm64 (NuGet) Fixed in 13.0.0 Advisory →
- Fix · GHSA-j96m-mjp6-99xr Magick.NET-Q8-OpenMP-x64 (NuGet) Fixed in 13.0.0 Advisory →
- Fix · GHSA-j96m-mjp6-99xr Magick.NET-Q8-arm64 (NuGet) Fixed in 13.0.0 Advisory →
- Fix · GHSA-j96m-mjp6-99xr Magick.NET-Q8-x64 (NuGet) Fixed in 13.0.0 Advisory →
- Fix · GHSA-j96m-mjp6-99xr Magick.NET-Q8-x86 (NuGet) Fixed in 13.0.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
Timeline
- 2026-10-02 Threatist record created from CVE-2023-1289
- 2026-10-03 Alias added: GHSA-j96m-mjp6-99xr
References
Patch 2
Sources
- CVE-2023-1289 · CVE Program
- CVE-2023-1289 · NVD
- FIRST EPSS
- GHSA-j96m-mjp6-99xr · GitHub Advisory Database · CC BY 4.0
- CVE-2023-1289 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences