Medium
Security advisory
In ImageMagick 7.0.7-12 Q16, there are memory leaks in MontageImageCommand in MagickWand/montage.c.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-18022
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:26 UTC · Revision 1
Source evidence
In ImageMagick 7.0.7-12 Q16, there are memory leaks in MontageImageCommand in MagickWand/montage.c.
osv:CVE-2017-18022
Complete source record
{
"id": "15ab3fa2cee9685839a5189d4e63f9def611f55f20230773d4491622d28a3c87",
"url": "https://osv.dev/vulnerability/CVE-2017-18022",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-18022",
"summary": "In ImageMagick 7.0.7-12 Q16, there are memory leaks in MontageImageCommand in MagickWand/montage.c.",
"evidence": "osv:CVE-2017-18022",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2017-18022",
"aliases": [
"CVE-2017-18022"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/imagemagick/imagemagick",
"type": "GIT",
"events": [
{
"introduced": "2884ed8a622c4b5678d1083fcaf0530ea3d58c7a"
},
{
"last_affected": "2884ed8a622c4b5678d1083fcaf0530ea3d58c7a"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:imagemagick:imagemagick:7.0.7-12:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.0.7-12"
},
{
"last_affected": "7.0.7-12"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"7.0.7-12"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-18022.json"
}
}
],
"modified": "2026-10-24T10:47:29.560096164Z",
"provider": "osv",
"references": [
"https://usn.ubuntu.com/3681-1/",
"https://github.com/ImageMagick/ImageMagick/issues/904"
],
"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:a:imagemagick:imagemagick:7.0.7-12:*:*:*:*:*:*:*"
],
"vendor_product": "imagemagick:imagemagick",
"extracted_events": [
{
"range": [
{
"introduced": "7.0.7-12"
},
{
"last_affected": "7.0.7-12"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2017-18022",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 441263,
"published_at": "2018-01-05T19:29:00.277+00:00"
}