{"id":"CVE-2018-5246","details":"In ImageMagick 7.0.7-17 Q16, there are memory leaks in ReadPATTERNImage in coders/pattern.c.","modified":"2026-07-18T03:31:40.017723744Z","published":"2018-01-05T19:29:00.310Z","related":["SUSE-SU-2018:0130-1","SUSE-SU-2018:0132-1","SUSE-SU-2018:0349-1"],"database_specific":{"unresolved_ranges":[{"vendor_product":"canonical:ubuntu_linux","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:*:*:*"],"extracted_events":[{"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"}]},"references":[{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/102469"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3681-1/"},{"type":"EVIDENCE","url":"https://github.com/ImageMagick/ImageMagick/issues/929"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/imagemagick/imagemagick","events":[{"introduced":"c9d4c4ecd1f7fb5168e512a0ba183b4bf8b47ce3"},{"last_affected":"c9d4c4ecd1f7fb5168e512a0ba183b4bf8b47ce3"}],"database_specific":{"source":"CPE_STRING","cpe":"cpe:2.3:a:imagemagick:imagemagick:7.0.7-17:*:*:*:*:*:*:*","extracted_events":[{"introduced":"7.0.7-17"},{"last_affected":"7.0.7-17"}]}}],"versions":["7.0.7-17"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-5246.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}