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.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-16645.json"
[
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "14.04"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "16.04"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "18.04"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "8.0"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "9.0"
}
]
}
]
[
{
"target": {
"file": "coders/bmp.c"
},
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"15432323788640904581586324437415287737",
"197524835849256849431995192612318409024",
"111114671530186682541294304784655426337",
"21105784068787724412190492541832327334"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://github.com/imagemagick/imagemagick/commit/ecb31dbad39ccdc65868d5d2a37f0f0521250832",
"id": "CVE-2018-16645-cdb93065"
},
{
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 23722.0,
"function_hash": "183654264590231335719891573908412061695"
},
"target": {
"function": "ReadBMPImage",
"file": "coders/bmp.c"
},
"source": "https://github.com/imagemagick/imagemagick/commit/ecb31dbad39ccdc65868d5d2a37f0f0521250832",
"id": "CVE-2018-16645-e03f0064"
}
]
"2026-04-11T12:27:54Z"