High
Security advisory
In ImageMagick 7.0.8-3 Q16, ReadBMPImage and WriteBMPImage in coders/bmp.c allow attackers to cause an out of bounds write via a crafted file.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-12599
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:33 UTC · Revision 1
Source evidence
In ImageMagick 7.0.8-3 Q16, ReadBMPImage and WriteBMPImage in coders/bmp.c allow attackers to cause an out of bounds write via a crafted file.
osv:CVE-2018-12599
Complete source record
{
"id": "67ca1354951f0a4b0208d84a9aee9c1c2a8032c6cfca1f8bb38bf3b5b0154eb8",
"url": "https://osv.dev/vulnerability/CVE-2018-12599",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-12599",
"summary": "In ImageMagick 7.0.8-3 Q16, ReadBMPImage and WriteBMPImage in coders/bmp.c allow attackers to cause an out of bounds write via a crafted file.",
"evidence": "osv:CVE-2018-12599",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2018-12599",
"aliases": [
"CVE-2018-12599"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/imagemagick/imagemagick",
"type": "GIT",
"events": [
{
"introduced": "08d6790454e779abf9279a608a1db3b5b601170e"
},
{
"last_affected": "08d6790454e779abf9279a608a1db3b5b601170e"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:imagemagick:imagemagick:7.0.8-3:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.0.8-3"
},
{
"last_affected": "7.0.8-3"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"7.0.8-3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-12599.json"
}
}
],
"modified": "2026-10-24T10:47:37.285028438Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2018/06/msg00004.html",
"https://usn.ubuntu.com/3711-1/",
"https://www.debian.org/security/2018/dsa-4245",
"https://github.com/ImageMagick/ImageMagick/issues/1177"
],
"provider_metadata": {
"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:17.10:*:*:*:*:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*"
],
"vendor_product": "canonical:ubuntu_linux",
"extracted_events": [
{
"range": [
{
"introduced": "14.04"
},
{
"last_affected": "14.04"
},
{
"introduced": "16.04"
},
{
"last_affected": "16.04"
},
{
"introduced": "17.10"
},
{
"last_affected": "17.10"
},
{
"introduced": "18.04"
},
{
"last_affected": "18.04"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
},
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:imagemagick:imagemagick:7.0.8-3:*:*:*:*:*:*:*"
],
"vendor_product": "imagemagick:imagemagick",
"extracted_events": [
{
"range": [
{
"introduced": "7.0.8-3"
},
{
"last_affected": "7.0.8-3"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2018-12599",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 441402,
"published_at": "2018-06-20T18:29:00.28+00:00"
}