{"id":"CVE-2017-6889","aliases":["EUVD-2017-15943","GHSA-hh27-7rq7-g8w3","MGASA-2017-0223","SUSE-SU-2017:2300-1"],"status":"published","title":"An integer overflow error within the \"foveon_load_camf()\" function (dcraw_foveon.c) in LibRaw...","description":"An integer overflow error within the \"foveon_load_camf()\" function (dcraw_foveon.c) in LibRaw-demosaic-pack-GPL2 before 0.18.2 can be exploited to cause a heap-based buffer overflow.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01479,"percentile":0.74069,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-190"],"published":"2017-05-15T18:00:00Z","modified":"2026-10-20T13:28:18Z","affected":[{"source":"osv","ecosystem":"Mageia:5","package":"libraw","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.16.2-1.2.mga5"}]}],"bundled":4},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP2","package":"libraw","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.15.4-9.2"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"libraw","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.15.4-9.2"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP2","package":"libraw","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.15.4-9.2"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP3","package":"libraw","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.15.4-9.2"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP2","package":"libraw","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.15.4-9.2"}]}],"bundled":7},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Workstation Extension 12 SP3","package":"libraw","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.15.4-9.2"}]}],"bundled":7}],"products":[{"vendor":"libraw","product":"libraw-demosaic-pack-gpl2"}],"references":[{"url":"https://secuniaresearch.flexerasoftware.com/advisories/75000/","tags":["x_refsource_MISC","x_transferred","Permissions Required","Third Party Advisory","report"]},{"url":"https://github.com/LibRaw/LibRaw-demosaic-pack-GPL2/commit/194f592e205990ea8fce72b6c571c14350aca716","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-6889"},{"url":"https://secuniaresearch.flexerasoftware.com/advisories/75000"},{"url":"https://github.com/advisories/GHSA-hh27-7rq7-g8w3"},{"url":"https://advisories.mageia.org/MGASA-2017-0223.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=21004","tags":["report"]},{"url":"https://lists.opensuse.org/opensuse-updates/2017-05/msg00111.html","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2017/suse-su-20172300-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1039209","tags":["report"]},{"url":"https://bugzilla.suse.com/1039210","tags":["report"]},{"url":"https://bugzilla.suse.com/1039379","tags":["report"]},{"url":"https://bugzilla.suse.com/1039380","tags":["report"]},{"url":"https://bugzilla.suse.com/930683","tags":["report"]},{"url":"https://bugzilla.suse.com/957517","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2015-3885","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2015-8367","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6886","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6887","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6889","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6890","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6899","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2017-6889","description":"An integer overflow error within the \"foveon_load_camf()\" function (dcraw_foveon.c) in LibRaw-demosaic-pack-GPL2 before 0.18.2 can be exploited to cause a heap-based buffer overflow.","status":"published","published":"2017-05-15T18:00:00Z","modified":"2024-08-05T15:41:17.776Z","updated_at":"2026-11-02T14:33:16.578111Z"}],"euvd":[{"id":"EUVD-2017-15943","description":"An integer overflow error within the \"foveon_load_camf()\" function (dcraw_foveon.c) in LibRaw-demosaic-pack-GPL2 before 0.18.2 can be exploited to cause a heap-based buffer overflow.","status":"published","published":"2017-05-15T18:00:00Z","modified":"2024-08-05T15:41:17Z","updated_at":"2026-11-03T02:39:10.49179Z"}],"ghsa":[{"id":"GHSA-hh27-7rq7-g8w3","title":"An integer overflow error within the \"foveon_load_camf()\" function (dcraw_foveon.c) in LibRaw...","description":"An integer overflow error within the \"foveon_load_camf()\" function (dcraw_foveon.c) in LibRaw-demosaic-pack-GPL2 before 0.18.2 can be exploited to cause a heap-based buffer overflow.","status":"published","published":"2022-05-17T02:44:02Z","modified":"2025-04-20T03:38:45Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T15:01:46.283604Z"}],"nvd":[{"id":"CVE-2017-6889","description":"An integer overflow error within the \"foveon_load_camf()\" function (dcraw_foveon.c) in LibRaw-demosaic-pack-GPL2 before 0.18.2 can be exploited to cause a heap-based buffer overflow.","status":"published","published":"2017-05-15T18:29:00.2Z","modified":"2026-06-17T01:23:16.763Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:03:47.848196Z"}],"osv":[{"id":"CVE-2017-6889","description":"An integer overflow error within the \"foveon_load_camf()\" function (dcraw_foveon.c) in LibRaw-demosaic-pack-GPL2 before 0.18.2 can be exploited to cause a heap-based buffer overflow.","status":"published","published":"2017-05-15T18:29:00.2Z","modified":"2026-10-20T13:28:18.672035019Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:06.412595Z"},{"id":"MGASA-2017-0223","title":"Updated libraw packages fix security vulnerabilities","description":"A memory corruption in parse_tiff_ifd() function (CVE-2017-6886).\n\nA memory corruption via e.g. a specially crafted KDC file\nparse_tiff_ifd() (CVE-2017-6887).\n\nAn integer overflow error within the \"foveon_load_camf()\" function\n(CVE-2017-6889).\n\nA boundary error within the \"foveon_load_camf()\" function\n(CVE-2017-6890).\n","status":"published","published":"2017-07-28T18:12:15Z","modified":"2026-04-16T06:24:38.567033361Z","updated_at":"2026-11-02T15:49:40.103088Z"},{"id":"SUSE-SU-2017:2300-1","title":"Security update for libraw","description":"This update for libraw fixes the following issues:\n\n- CVE-2015-3885: A specially crafted raw image file could have caused a Denial of Service\n  through an integer overflow. (bsc#930683)\n\n- CVE-2015-8367: The function phase_one_correct() did not handle memory object initialization\n  correctly, which may have caused some other problems. (bsc#957517)\n\n- CVE-2017-6886: memory corruption in parse_tiff_ifd() func (internal/dcraw_common.cpp) could lead to Denial of service (bsc#1039380)\n\n- CVE-2017-6889: integer overflow error within the 'foveon_load_camf()' function (dcraw_foveon.c) could lead to Denial of service (bsc#1039210)\n\n- CVE-2017-6890: boundary error within the 'foveon_load_camf()' function (dcraw_foveon.c) (bsc#1039209)\n\n","status":"published","published":"2017-08-30T13:16:37Z","modified":"2026-02-04T03:35:58.613781Z","updated_at":"2026-11-02T15:53:44.209561Z"}]}}
