{"id":"CVE-2023-1289","published":"2023-03-23T00:00:00Z","modified":"2024-08-02T05:40:59Z","title":"A vulnerability was discovered in ImageMagick where a specially created SVG file loads itself and causes a…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00858,"percentile":0.59333,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2176858","tags":[]},{"url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-j96m-mjp6-99xr","tags":[]},{"url":"https://github.com/ImageMagick/ImageMagick/commit/c5b23cbf2119540725e6dc81f4deb25798ead6a4","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/02/msg00007.html","tags":["mailing-list"]}],"priority":{"score":11.9,"factors":[{"name":"EPSS percentile","points":11.87}]},"affectedVersions":[{"vendor":"n/a","product":"ImageMagick","versions":["Fixed-in ImageMagick v7.1.1-0"]}],"affected":[{"ecosystem":"NuGet","package":"Magick.NET-Q16-AnyCPU","vulnerableRanges":["<13.0.0"],"patched":["13.0.0"],"from":["GHSA-j96m-mjp6-99xr"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-AnyCPU","vulnerableRanges":["<13.0.0"],"patched":["13.0.0"],"from":["GHSA-j96m-mjp6-99xr"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-OpenMP-arm64","vulnerableRanges":["<13.0.0"],"patched":["13.0.0"],"from":["GHSA-j96m-mjp6-99xr"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-arm64","vulnerableRanges":["<13.0.0"],"patched":["13.0.0"],"from":["GHSA-j96m-mjp6-99xr"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-x64","vulnerableRanges":["<13.0.0"],"patched":["13.0.0"],"from":["GHSA-j96m-mjp6-99xr"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-x86","vulnerableRanges":["<13.0.0"],"patched":["13.0.0"],"from":["GHSA-j96m-mjp6-99xr"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-OpenMP-arm64","vulnerableRanges":["<13.0.0"],"patched":["13.0.0"],"from":["GHSA-j96m-mjp6-99xr"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-OpenMP-x64","vulnerableRanges":["<13.0.0"],"patched":["13.0.0"],"from":["GHSA-j96m-mjp6-99xr"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-OpenMP-x86","vulnerableRanges":["<13.0.0"],"patched":["13.0.0"],"from":["GHSA-j96m-mjp6-99xr"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-arm64","vulnerableRanges":["<13.0.0"],"patched":["13.0.0"],"from":["GHSA-j96m-mjp6-99xr"],"provenance":"source"}],"summary":{"text":"The flaw is an improper input validation issue in ImageMagick's SVG handling: a specially crafted SVG file that loads itself triggers a segmentation fault. An attacker can send such a file remotely, with no authentication or user interaction described, to crash ImageMagick and cause a denial of service, with each crash writing large trash files to /tmp, amplifying the disk usage to roughly 103 times the size of the uploaded file.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:04:36Z"},"euvd":{"id":"EUVD-2023-23554","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-imagemagick-cve-2016-4562","parents":[{"from":"CVE-2016-4562","to":"CVE-2023-1289","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["MagickCore/draw.c"],"commits":["https://github.com/ImageMagick/ImageMagick/commit/726812fa2fa7ce16bcf58f6e115f65427a1c0950","https://github.com/ImageMagick/ImageMagick/commit/c5b23cbf2119540725e6dc81f4deb25798ead6a4"],"basis":"shared function","functions":["DrawPrimitive"]}]},{"from":"CVE-2016-4563","to":"CVE-2023-1289","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["MagickCore/draw.c"],"commits":["https://github.com/ImageMagick/ImageMagick/commit/726812fa2fa7ce16bcf58f6e115f65427a1c0950","https://github.com/ImageMagick/ImageMagick/commit/c5b23cbf2119540725e6dc81f4deb25798ead6a4"],"basis":"shared function","functions":["DrawPrimitive"]}]},{"from":"CVE-2016-4564","to":"CVE-2023-1289","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["MagickCore/draw.c"],"commits":["https://github.com/ImageMagick/ImageMagick/commit/726812fa2fa7ce16bcf58f6e115f65427a1c0950","https://github.com/ImageMagick/ImageMagick/commit/c5b23cbf2119540725e6dc81f4deb25798ead6a4"],"basis":"shared function","functions":["DrawPrimitive"]}]}],"children":[{"from":"CVE-2023-1289","to":"CVE-2025-68950","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["MagickCore/draw.c"],"commits":["https://github.com/ImageMagick/ImageMagick/commit/c5b23cbf2119540725e6dc81f4deb25798ead6a4","https://github.com/ImageMagick/ImageMagick/commit/204718c2211903949dcfc0df8e65ed066b008dec"],"basis":"shared function","functions":["DrawPrimitive"]}]}]}}