{"id":"CVE-2018-20185","aliases":["DEBIAN-CVE-2018-20185","DLA-1619-1","EUVD-2018-12752","GHSA-569g-rm32-h5jr","MGASA-2019-0033","SUSE-SU-2019:13923-1","UBUNTU-CVE-2018-20185","USN-4207-1"],"status":"published","title":"In GraphicsMagick 1.4 snapshot-20181209 Q8 on 32-bit platforms, there is a heap-based buffer over...","description":"In GraphicsMagick 1.4 snapshot-20181209 Q8 on 32-bit platforms, there is a heap-based buffer over-read in the ReadBMPImage function of bmp.c, which allows attackers to cause a denial of service via a crafted bmp image file. This only affects GraphicsMagick installations with customized BMP limits.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02107,"percentile":0.81878,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2018-12-17T17:00:00Z","modified":"2026-10-23T18:03:20Z","fixes":[{"ecosystem":"Debian:12","package":"graphicsmagick","fixed_in":["1.4~hg15880-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"graphicsmagick","fixed_in":["1.4~hg15880-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"graphicsmagick","fixed_in":["1.4~hg15880-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"graphicsmagick","fixed_in":["1.3.28-2ubuntu0.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4~hg15880-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4~hg15880-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4~hg15880-1"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.20-3+deb8u5"}]}],"versions":["1.3.20-3+deb8u1","1.3.20-3+deb8u2","1.3.20-3+deb8u3","1.3.20-3+deb8u4"],"bundled":3},{"source":"osv","ecosystem":"Mageia:6","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.31-1.3.mga6"}]}],"bundled":3},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 11 SP4","package":"GraphicsMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.5-78.78.1"}]}],"bundled":8},{"source":"osv","ecosystem":"SUSE:Studio Onsite 1.3","package":"GraphicsMagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.5-78.78.1"}]}],"bundled":8},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.16-1.1ubuntu2","1.3.16-1.1ubuntu3","1.3.18-1ubuntu3","1.3.18-1ubuntu3.1","1.3.18-1ubuntu3.1+esm1","1.3.18-1ubuntu3.1+esm2","1.3.18-1ubuntu3.1+esm3","1.3.18-1ubuntu3.1+esm4","1.3.18-1ubuntu3.1+esm5","1.3.18-1ubuntu3.1+esm6","1.3.18-1ubuntu3.1+esm7","1.3.18-1ubuntu3.1+esm8"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.21-3","1.3.23-1","1.3.23-1build1","1.3.23-1ubuntu0.1","1.3.23-1ubuntu0.1+esm1","1.3.23-1ubuntu0.2","1.3.23-1ubuntu0.3","1.3.23-1ubuntu0.4","1.3.23-1ubuntu0.5","1.3.23-1ubuntu0.6","1.3.23-1ubuntu0.6+esm1","1.3.23-1ubuntu0.6+esm2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.28-2ubuntu0.1"}]}],"versions":["1.3.26-15","1.3.26-16","1.3.26-19","1.3.27-1","1.3.27-2","1.3.27-3","1.3.28-1","1.3.28-2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"graphicsmagick","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.28-2ubuntu0.1"}]}],"versions":["1.3.26-15","1.3.26-16","1.3.26-19","1.3.27-1","1.3.27-2","1.3.27-3","1.3.28-1","1.3.28-2"],"bundled":13}],"products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"debian","product":"debian_linux"},{"vendor":"graphicsmagick","product":"graphicsmagick"}],"references":[{"url":"http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/648e3977a293","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory","fix","report"]},{"url":"https://sourceforge.net/p/graphicsmagick/bugs/582/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"http://www.securityfocus.com/bid/106229","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/12/msg00018.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://usn.ubuntu.com/4207-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"https://www.debian.org/security/2020/dsa-4640","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20185"},{"url":"https://github.com/advisories/GHSA-569g-rm32-h5jr"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-20185","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2019-0033.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=24103","tags":["report"]},{"url":"https://lists.opensuse.org/opensuse-updates/2018-12/msg00148.html","tags":["web"]},{"url":"http://lists.suse.com/pipermail/sle-security-updates/2019-January/005014.html","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2019/suse-su-201913923-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1042911","tags":["report"]},{"url":"https://bugzilla.suse.com/1052754","tags":["report"]},{"url":"https://bugzilla.suse.com/1078433","tags":["report"]},{"url":"https://bugzilla.suse.com/1112392","tags":["report"]},{"url":"https://bugzilla.suse.com/1112399","tags":["report"]},{"url":"https://bugzilla.suse.com/1113064","tags":["report"]},{"url":"https://bugzilla.suse.com/1119822","tags":["report"]},{"url":"https://bugzilla.suse.com/1119823","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2017-10794","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-12663","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14997","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-9405","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-18544","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-20184","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-20185","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-6405","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2018-20185","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4207-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-20185","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-20184","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-20189","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-11005","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-11006","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-11007","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-11008","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-11009","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-11010","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-11473","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-11474","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-11505","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-11506","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-20185","description":"In GraphicsMagick 1.4 snapshot-20181209 Q8 on 32-bit platforms, there is a heap-based buffer over-read in the ReadBMPImage function of bmp.c, which allows attackers to cause a denial of service via a crafted bmp image file. This only affects GraphicsMagick installations with customized BMP limits.","status":"published","published":"2018-12-17T17:00:00Z","modified":"2024-08-05T11:58:18.146Z","updated_at":"2026-11-02T14:34:59.872731Z"}],"euvd":[{"id":"EUVD-2018-12752","description":"In GraphicsMagick 1.4 snapshot-20181209 Q8 on 32-bit platforms, there is a heap-based buffer over-read in the ReadBMPImage function of bmp.c, which allows attackers to cause a denial of service via a crafted bmp image file. This only affects GraphicsMagick installations with customized BMP limits.","status":"published","published":"2018-12-17T17:00:00Z","modified":"2024-08-05T11:58:18Z","updated_at":"2026-11-03T02:39:31.423203Z"}],"ghsa":[{"id":"GHSA-569g-rm32-h5jr","title":"In GraphicsMagick 1.4 snapshot-20181209 Q8 on 32-bit platforms, there is a heap-based buffer over...","description":"In GraphicsMagick 1.4 snapshot-20181209 Q8 on 32-bit platforms, there is a heap-based buffer over-read in the ReadBMPImage function of bmp.c, which allows attackers to cause a denial of service via a crafted bmp image file. This only affects GraphicsMagick installations with customized BMP limits.","status":"published","published":"2022-05-13T01:23:18Z","modified":"2023-02-01T05:07:08Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:50:29.480738Z"}],"nvd":[{"id":"CVE-2018-20185","description":"In GraphicsMagick 1.4 snapshot-20181209 Q8 on 32-bit platforms, there is a heap-based buffer over-read in the ReadBMPImage function of bmp.c, which allows attackers to cause a denial of service via a crafted bmp image file. This only affects GraphicsMagick installations with customized BMP limits.","status":"published","published":"2018-12-17T19:29:03.72Z","modified":"2026-06-17T01:52:25.367Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":2.6,"vector":"AV:N/AC:H/Au:N/C:N/I:N/A:P","level":"low","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:04:50.99633Z"}],"osv":[{"id":"CVE-2018-20185","description":"In GraphicsMagick 1.4 snapshot-20181209 Q8 on 32-bit platforms, there is a heap-based buffer over-read in the ReadBMPImage function of bmp.c, which allows attackers to cause a denial of service via a crafted bmp image file. This only affects GraphicsMagick installations with customized BMP limits.","status":"published","published":"2018-12-17T19:29:03.72Z","modified":"2026-04-16T06:15:18.135759914Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:09.145458Z"},{"id":"DEBIAN-CVE-2018-20185","description":"In GraphicsMagick 1.4 snapshot-20181209 Q8 on 32-bit platforms, there is a heap-based buffer over-read in the ReadBMPImage function of bmp.c, which allows attackers to cause a denial of service via a crafted bmp image file. This only affects GraphicsMagick installations with customized BMP limits.","status":"published","published":"2018-12-17T19:29:03.72Z","modified":"2026-10-23T18:03:20.96761769Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:30.57382Z"},{"id":"UBUNTU-CVE-2018-20185","description":"In GraphicsMagick 1.4 snapshot-20181209 Q8 on 32-bit platforms, there is a heap-based buffer over-read in the ReadBMPImage function of bmp.c, which allows attackers to cause a denial of service via a crafted bmp image file. This only affects GraphicsMagick installations with customized BMP limits.","status":"published","published":"2018-12-17T19:29:00Z","modified":"2026-04-22T11:52:02.738763Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:17.91743Z"},{"id":"DLA-1619-1","title":"graphicsmagick - security update","status":"published","published":"2018-12-27T00:00:00Z","modified":"2026-03-09T01:22:17.206292Z","updated_at":"2026-11-02T15:46:09.777694Z"},{"id":"MGASA-2019-0033","title":"Updated graphicsmagick packages fix security vulnerabilities","description":"It was discovered that graphicsmagick was subject to vulnerabilities.\n* heap-based buffer overflow in the WriteTGAImage function of tga.c\n(CVE-2018-20184).\n* denial of service vulnerability in ReadDIBImage function of\ncoders/dib.c (CVE-2018-20189).\n* heap-based buffer over-read in the ReadBMPImage function of bmp.c\n(CVE-2018-20185).\n","status":"published","published":"2019-01-11T21:07:56Z","modified":"2026-05-16T06:30:22.65994Z","updated_at":"2026-11-02T15:49:40.793816Z"},{"id":"SUSE-SU-2019:13923-1","title":"Security update for GraphicsMagick","description":"This update for GraphicsMagick fixes the following issues:\n\nSecurity issues fixed:\n\n- CVE-2018-18544: Fixed memory leak in the function WriteMSLImage() (bsc#1113064).\n- CVE-2017-10794: Fixed buffer overflow in RGB TIFF picture processing (bsc#1112392).\n- CVE-2017-14997: Fixed integer underflow in ReadPICTImage in coders/pict.c (bsc#1112399).\n- CVE-2018-20185: Fixed heap-based buffer over-read in the ReadBMPImage function of bmp.c (bsc#1119823)\n- CVE-2018-20184: Fixed heap-based buffer overflow in the WriteTGAImage function of tga.c (bsc#1119822)\n\nRegressions fixed after security update:\n\n- CVE-2017-12663: Fixed memory leak in WriteMAPImage in coders/map.c (bsc#1052754).\n- CVE-2017-9405: Fixed memory leak in the ReadICONImage function (bsc#1042911).\n- CVE-2018-6405: Fixed ReadDCMImage function in coders/dcm (bsc#1078433).\n\nNon-security issues fixed:\n\n- debug_build: build more suitable for debugging\n","status":"published","published":"2019-01-03T16:32:29Z","modified":"2026-02-04T03:30:23.770569Z","updated_at":"2026-11-02T15:53:45.926331Z"},{"id":"USN-4207-1","title":"graphicsmagick vulnerabilities","description":"It was discovered that GraphicsMagick incorrectly handled certain image files.\nAn attacker could possibly use this issue to cause a denial of service or other\nunspecified impact.\n","status":"published","published":"2019-12-03T13:44:52Z","modified":"2026-04-27T15:48:46.177481758Z","updated_at":"2026-11-02T16:58:14.547547Z"}]}}
