CVE-2023-1289

Source
https://cve.org/CVERecord?id=CVE-2023-1289
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-1289.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-1289
Aliases
Downstream
CGA (2)
DEBIAN (1)
JLSEC (1)
MGASA (1)
OESA (1)
openSUSE (1)
SUSE (4)
UBUNTU (1)
Related
Published
2023-03-23T00:00:00Z
Modified
2026-11-04T13:01:19Z
Summary
[none]
Details

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.

Database specific
{
    "cna_assigner": "redhat",
    "cwe_ids": [
        "CWE-20"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/1xxx/CVE-2023-1289.json"
}
References

Affected packages

Git / github.com/imagemagick/imagemagick

Affected ranges

Type
GIT
Repo
https://github.com/imagemagick/imagemagick
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "Fixed-in ImageMagick v7.1.1-0"
                },
                {
                    "last_affected": "Fixed-in ImageMagick v7.1.1-0"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandaloneSingleVersion"
        },
        {
            "range": [
                {
                    "fixed": "c5b23cbf2119540725e6dc81f4deb25798ead6a4"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

7.*
7.1.1-0
7.1.1-1
7.1.1-10
7.1.1-11
7.1.1-12
7.1.1-13
7.1.1-14
7.1.1-15
7.1.1-16
7.1.1-17
7.1.1-18
7.1.1-19
7.1.1-2
7.1.1-20
7.1.1-21
7.1.1-22
7.1.1-23
7.1.1-24
7.1.1-25
7.1.1-26
7.1.1-27
7.1.1-28
7.1.1-29
7.1.1-3
7.1.1-30
7.1.1-31
7.1.1-32
7.1.1-33
7.1.1-34
7.1.1-35
7.1.1-36
7.1.1-37
7.1.1-38
7.1.1-39
7.1.1-4
7.1.1-40
7.1.1-41
7.1.1-43
7.1.1-44
7.1.1-45
7.1.1-46
7.1.1-47
7.1.1-5
7.1.1-6
7.1.1-7
7.1.1-8
7.1.1-9
7.1.2-0
7.1.2-1
7.1.2-10
7.1.2-11
7.1.2-12
7.1.2-13
7.1.2-14
7.1.2-15
7.1.2-16
7.1.2-17
7.1.2-18
7.1.2-19
7.1.2-2
7.1.2-20
7.1.2-21
7.1.2-22
7.1.2-23
7.1.2-24
7.1.2-25
7.1.2-26
7.1.2-27
7.1.2-28
7.1.2-29
7.1.2-3
7.1.2-30
7.1.2-31
7.1.2-32
7.1.2-33
7.1.2-34
7.1.2-35
7.1.2-5
7.1.2-6
7.1.2-7
7.1.2-8
7.1.2-9
Fixed-in ImageMagick v7.*
Fixed-in ImageMagick v7.1.1-0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-1289.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "function_hash": "29902448052071645667149136699136026042",
            "length": 11448
        },
        "id": "CVE-2023-1289-68c0f34c",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/imagemagick/imagemagick/commit/c5b23cbf2119540725e6dc81f4deb25798ead6a4",
        "target": {
            "file": "MagickCore/draw.c",
            "function": "DrawPrimitive"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "52909156131205580745174177646359421269",
                "210959658475179912024626350276219083510",
                "190208875981849026616327657253389286142",
                "91551732911785474619320117426817094857"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2023-1289-9970488a",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/imagemagick/imagemagick/commit/c5b23cbf2119540725e6dc81f4deb25798ead6a4",
        "target": {
            "file": "MagickCore/draw.c"
        }
    }
]
vanir_signatures_modified
"2026-11-04T13:01:19Z"