CVE-2018-16645

Source
https://cve.org/CVERecord?id=CVE-2018-16645
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-16645.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-16645
Downstream
Related
Published
2018-09-06T22:29:01.427Z
Modified
2026-07-08T17:15:59.571073Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

There is an excessive memory allocation issue in the functions ReadBMPImage of coders/bmp.c and ReadDIBImage of coders/dib.c in ImageMagick 7.0.8-11, which allows remote attackers to cause a denial of service via a crafted image file.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "14.04"
                },
                {
                    "last_affected": "14.04"
                },
                {
                    "introduced": "16.04"
                },
                {
                    "last_affected": "16.04"
                },
                {
                    "introduced": "18.04"
                },
                {
                    "last_affected": "18.04"
                }
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "source": "CPE_STRING"
        },
        {
            "cpes": [
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "introduced": "8.0"
                },
                {
                    "last_affected": "8.0"
                },
                {
                    "introduced": "9.0"
                },
                {
                    "last_affected": "9.0"
                }
            ],
            "vendor_product": "debian:debian_linux",
            "source": "CPE_STRING"
        }
    ]
}
References

Affected packages

Git / github.com/imagemagick/imagemagick

Affected ranges

Type
GIT
Repo
https://github.com/imagemagick/imagemagick
Events
Database specific
{
    "cpe": "cpe:2.3:a:imagemagick:imagemagick:7.0.8-11:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "7.0.8-11"
        },
        {
            "last_affected": "7.0.8-11"
        }
    ],
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

7.*
7.0.8-11

Database specific

vanir_signatures
[
    {
        "source": "https://github.com/imagemagick/imagemagick/commit/ecb31dbad39ccdc65868d5d2a37f0f0521250832",
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "line_hashes": [
                "15432323788640904581586324437415287737",
                "197524835849256849431995192612318409024",
                "111114671530186682541294304784655426337",
                "21105784068787724412190492541832327334"
            ],
            "threshold": 0.9
        },
        "deprecated": false,
        "id": "CVE-2018-16645-cdb93065",
        "target": {
            "file": "coders/bmp.c"
        }
    },
    {
        "source": "https://github.com/imagemagick/imagemagick/commit/ecb31dbad39ccdc65868d5d2a37f0f0521250832",
        "signature_version": "v1",
        "signature_type": "Function",
        "digest": {
            "function_hash": "183654264590231335719891573908412061695",
            "length": 23722.0
        },
        "deprecated": false,
        "id": "CVE-2018-16645-e03f0064",
        "target": {
            "function": "ReadBMPImage",
            "file": "coders/bmp.c"
        }
    }
]
vanir_signatures_modified
"2026-07-08T17:15:59Z"
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-16645.json"