CVE details
CVE-2023-1289
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.
Affected ports (2)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| graphics/ImageMagick6 | ImageMagick6 | 6.9.13.50_1,1 | unaddressed | desktop@FreeBSD.org |
| graphics/ImageMagick6 | ImageMagick6-nox11 | 6.9.13.50_1,1 | unaddressed | desktop@FreeBSD.org |
Template for a VuXML entry
Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>FIXME -- FIXME</topic>
<affects>
<package>
<name>ImageMagick6</name>
<range><lt>7.1.1-0</lt></range>
</package>
<package>
<name>ImageMagick6-nox11</name>
<range><lt>7.1.1-0</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>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.</p>
</body>
</description>
<references>
<cvename>CVE-2023-1289</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2023-1289</url>
</references>
<dates>
<discovery>2023-03-23</discovery>
<entry>2026-10-25</entry>
</dates>
</vuln>