{"id":"CVE-2017-6009","aliases":["DEBIAN-CVE-2017-6009","DLA-854-1","DSA-3807-1","EUVD-2017-15077","GHSA-82cf-r7f2-jqcr","MGASA-2017-0080","RHSA-2017:0837","UBUNTU-CVE-2017-6009","USN-4695-1","openSUSE-SU-2024:10858-1"],"status":"published","title":"An issue was discovered in icoutils 0.31.1. A buffer overflow was observed in the ...","description":"An issue was discovered in icoutils 0.31.1. A buffer overflow was observed in the \"decode_ne_resource_id\" function in the \"restable.c\" source file. This is happening because the \"len\" parameter for memcpy is not checked for size and thus becomes a negative integer in the process, resulting in a failed memcpy. This affects wrestool.","severity":{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.01529,"percentile":0.74888,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-119"],"published":"2017-02-16T00:00:00Z","modified":"2026-09-01T20:03:48Z","fixes":[{"ecosystem":"Debian:12","package":"icoutils","fixed_in":["0.31.2-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"icoutils","fixed_in":["0.31.2-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"icoutils","fixed_in":["0.31.2-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"icoutils","fixed_in":["0.31.0-2+deb8u3build0.14.04.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"icoutils","fixed_in":["0.31.0-3ubuntu0.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"icoutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.31.2-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"icoutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.31.2-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"icoutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.31.2-1"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"icoutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.29.1-5deb7u2"}]}],"versions":["0.29.1-5","0.29.1-5deb7u1"],"bundled":3},{"source":"osv","ecosystem":"Debian:8","package":"icoutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.31.0-2+deb8u3"}]}],"versions":["0.31.0-2","0.31.0-2+deb8u1","0.31.0-2+deb8u2"],"bundled":3},{"source":"osv","ecosystem":"Mageia:5","package":"icoutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.31.3-1.mga5"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"icoutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.31.3-1.el7_3"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"icoutils-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.31.3-1.el7_3"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"icoutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.31.3-1.el7_3"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"icoutils-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.31.3-1.el7_3"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"icoutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.31.3-1.el7_3"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"icoutils-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.31.3-1.el7_3"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"icoutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.31.3-1.el7_3"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"icoutils-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.31.3-1.el7_3"}]}],"bundled":6},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"icoutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.31.0-2+deb8u3build0.14.04.1"}]}],"versions":["0.31.0-1","0.31.0-2","0.31.0-2+deb8u2build0.14.04.1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"icoutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.31.0-3ubuntu0.1"}]}],"versions":["0.31.0-2","0.31.0-3"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"icoutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.31.0-3ubuntu0.1"}]}],"versions":["0.31.0-2","0.31.0-3"],"bundled":7},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"icoutils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.32.3-1.7"}]}],"bundled":4}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"icoutils_project","product":"icoutils"},{"vendor":"redhat","product":"enterprise_linux_desktop"},{"vendor":"redhat","product":"enterprise_linux_server"},{"vendor":"redhat","product":"enterprise_linux_server_aus"},{"vendor":"redhat","product":"enterprise_linux_server_eus"},{"vendor":"redhat","product":"enterprise_linux_server_tus"},{"vendor":"redhat","product":"enterprise_linux_workstation"}],"references":[{"url":"https://security.gentoo.org/glsa/201801-12","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854050","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Mailing List","Third Party Advisory","report"]},{"url":"http://www.securityfocus.com/bid/96292","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2017-0837.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.debian.org/security/2017/dsa-3807","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-6009","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-82cf-r7f2-jqcr"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-6009","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2017-0080.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=20477","tags":["report"]},{"url":"https://www.debian.org/security/2017/dsa-3807","tags":["web"]},{"url":"http://git.savannah.gnu.org/cgit/icoutils.git/tree/NEWS?h=0.31.3","tags":["web"]},{"url":"https://access.redhat.com/errata/RHSA-2017:0837","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1411251","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1412259","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1412263","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1422906","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1422907","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1422908","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2017/rhsa-2017_0837.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2017-5208","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-5208","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5208","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2017-5332","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-5332","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5332","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2017-5333","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-5333","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5333","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2017-6009","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-6009","tags":["advisory","report"]},{"url":"https://access.redhat.com/security/cve/CVE-2017-6010","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-6010","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-6010","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2017-6011","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-6011","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-6011","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-6009","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3226-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/notices/USN-4695-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-5208","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-5331","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-5332","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-5333","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-6010","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-6011","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2017-5208","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-5333","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6009","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6011","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2017-6009","description":"An issue was discovered in icoutils 0.31.1. A buffer overflow was observed in the \"decode_ne_resource_id\" function in the \"restable.c\" source file. This is happening because the \"len\" parameter for memcpy is not checked for size and thus becomes a negative integer in the process, resulting in a failed memcpy. This affects wrestool.","status":"published","published":"2017-02-16T11:00:00Z","modified":"2024-08-05T15:18:49.549Z","updated_at":"2026-11-02T14:33:16.578111Z"}],"euvd":[{"id":"EUVD-2017-15077","description":"An issue was discovered in icoutils 0.31.1. A buffer overflow was observed in the \"decode_ne_resource_id\" function in the \"restable.c\" source file. This is happening because the \"len\" parameter for memcpy is not checked for size and thus becomes a negative integer in the process, resulting in a failed memcpy. This affects wrestool.","status":"published","published":"2017-02-16T11:00:00Z","modified":"2024-08-05T15:18:49Z","updated_at":"2026-11-03T02:39:13.436112Z"}],"ghsa":[{"id":"GHSA-82cf-r7f2-jqcr","title":"An issue was discovered in icoutils 0.31.1. A buffer overflow was observed in the ...","description":"An issue was discovered in icoutils 0.31.1. A buffer overflow was observed in the \"decode_ne_resource_id\" function in the \"restable.c\" source file. This is happening because the \"len\" parameter for memcpy is not checked for size and thus becomes a negative integer in the process, resulting in a failed memcpy. This affects wrestool.","status":"published","published":"2022-05-14T01:22:08Z","modified":"2023-02-02T05:03:26Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:51:38.289817Z"}],"nvd":[{"id":"CVE-2017-6009","description":"An issue was discovered in icoutils 0.31.1. A buffer overflow was observed in the \"decode_ne_resource_id\" function in the \"restable.c\" source file. This is happening because the \"len\" parameter for memcpy is not checked for size and thus becomes a negative integer in the process, resulting in a failed memcpy. This affects wrestool.","status":"published","published":"2017-02-16T11:59:00.223Z","modified":"2026-06-17T01:21:37.04Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:03:43.325192Z"}],"osv":[{"id":"CVE-2017-6009","description":"An issue was discovered in icoutils 0.31.1. A buffer overflow was observed in the \"decode_ne_resource_id\" function in the \"restable.c\" source file. This is happening because the \"len\" parameter for memcpy is not checked for size and thus becomes a negative integer in the process, resulting in a failed memcpy. This affects wrestool.","status":"published","published":"2017-02-16T11:59:00.223Z","modified":"2026-04-16T06:19:28.646001372Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:06.029968Z"},{"id":"DEBIAN-CVE-2017-6009","description":"An issue was discovered in icoutils 0.31.1. A buffer overflow was observed in the \"decode_ne_resource_id\" function in the \"restable.c\" source file. This is happening because the \"len\" parameter for memcpy is not checked for size and thus becomes a negative integer in the process, resulting in a failed memcpy. This affects wrestool.","status":"published","published":"2017-02-16T11:59:00.223Z","modified":"2026-09-01T20:03:48.926344095Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:29.412243Z"},{"id":"RHSA-2017:0837","title":"Red Hat Security Advisory: icoutils security update","status":"published","published":"2024-09-16T00:10:11Z","modified":"2026-06-27T10:04:57Z","cvss":[{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L","level":"high"}],"updated_at":"2026-11-02T15:53:04.262457Z"},{"id":"UBUNTU-CVE-2017-6009","description":"An issue was discovered in icoutils 0.31.1. A buffer overflow was observed in the \"decode_ne_resource_id\" function in the \"restable.c\" source file. This is happening because the \"len\" parameter for memcpy is not checked for size and thus becomes a negative integer in the process, resulting in a failed memcpy. This affects wrestool.","status":"published","published":"2017-02-16T00:00:00Z","modified":"2026-02-04T03:00:12.496328Z","cvss":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:15.388065Z"},{"id":"DLA-854-1","title":"icoutils - security update","status":"published","published":"2017-03-13T00:00:00Z","modified":"2026-03-09T02:10:43.927259Z","updated_at":"2026-11-02T15:46:13.584509Z"},{"id":"DSA-3807-1","title":"icoutils - security update","status":"published","published":"2017-03-12T00:00:00Z","modified":"2026-03-09T01:18:31.65482Z","updated_at":"2026-11-02T15:46:16.523846Z"},{"id":"MGASA-2017-0080","title":"Updated icoutils packages fix security vulnerability","description":"Multiple vulnerabilities were discovered in the icotool (CVE-2017-6010,\nCVE-2017-6011) and wrestool (CVE-2017-6009) tools of icoutils, a set of\nprograms that deal with MS Windows icons and cursors, which may result in\ndenial of service or the execution of arbitrary code if a malformed .ico\nor .exe file is processed.\n","status":"published","published":"2017-03-23T07:19:23Z","modified":"2026-04-16T06:24:18.753219924Z","updated_at":"2026-11-02T15:49:40.103088Z"},{"id":"openSUSE-SU-2024:10858-1","title":"icoutils-0.32.3-1.7 on GA media","description":"These are all security issues fixed in the icoutils-0.32.3-1.7 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2025-05-07T18:09:43.843219Z","updated_at":"2026-11-02T16:58:34.894275Z"},{"id":"USN-4695-1","title":"icoutils vulnerabilities","description":"Choongwoo Han discovered that icoutils incorrectly handled certain files.\nAn attacker could possibly use this issue to cause a denial of service\nor execute arbitrary code. (CVE-2017-5208)\n\nIt was discovered that icoutils incorrectly handled certain files.\nAn attacker could possibly use this issue to cause a denial of service\nor execute arbitrary code. (CVE-2017-5331, CVE-2017-5332, CVE-2017-5333)\n\nJerzy Kramarz discovered that icoutils incorrectly handled certain files.\nAn attacker could possibly use this issue to cause a crash or execute\narbitrary code. (CVE-2017-6009, CVE-2017-6010)\n\nJerzy Kramarz discovered that icoutils incorrectly handled certain files.\nAn attacker could possibly use this issue to expose sensitive information.\n(CVE-2017-6011)\n","status":"published","published":"2021-01-18T12:30:38Z","modified":"2026-02-10T04:42:02Z","updated_at":"2026-11-02T16:58:15.159055Z"}]}}
