{"id":"CVE-2016-10507","aliases":["DEBIAN-CVE-2016-10507","EUVD-2016-1689","GHSA-5vr5-4x8v-hcfp","SUSE-SU-2017:2649-1","UBUNTU-CVE-2016-10507","openSUSE-SU-2017:2685-1","openSUSE-SU-2017:2686-1"],"status":"published","title":"Integer overflow vulnerability in the bmp24toimage function in convertbmp.c in OpenJPEG before 2...","description":"Integer overflow vulnerability in the bmp24toimage function in convertbmp.c in OpenJPEG before 2.2.0 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted bmp file.","severity":{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/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.02449,"percentile":0.84468,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-190"],"published":"2017-08-30T09:00:00Z","modified":"2026-10-20T10:47:10Z","fixes":[{"ecosystem":"Debian:12","package":"openjpeg2","fixed_in":["2.1.2-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"openjpeg2","fixed_in":["2.1.2-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"openjpeg2","fixed_in":["2.1.2-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"openjpeg2","fixed_in":["2.1.2-1.1+deb9u2build0.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.2-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.2-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.2-1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP2","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-4.6.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP3","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-4.6.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-4.6.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP2","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-4.6.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-4.6.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP3","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-4.6.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-4.6.1"}]}],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.2-1.1+deb9u2build0.1"}]}],"versions":["2.1.0-2.1","2.1.0-2.1ubuntu0.1"]},{"source":"osv","ecosystem":"SUSE:Package Hub 12","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-9.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Package Hub 12 SP1","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-9.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Package Hub 12","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-9.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Package Hub 12 SP1","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-9.1"}]}],"bundled":5}],"products":[{"vendor":"uclouvain","product":"openjpeg"}],"references":[{"url":"https://github.com/uclouvain/openjpeg/issues/833","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"url":"https://security.gentoo.org/glsa/201710-26","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"https://github.com/uclouvain/openjpeg/commit/da940424816e11d624362ce080bc026adffa26e8","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"http://www.securityfocus.com/bid/100567","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10507"},{"url":"https://github.com/advisories/GHSA-5vr5-4x8v-hcfp"},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-10507","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2017/suse-su-20172649-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1056421","tags":["report"]},{"url":"https://bugzilla.suse.com/1056562","tags":["report"]},{"url":"https://bugzilla.suse.com/1056621","tags":["report"]},{"url":"https://bugzilla.suse.com/1056622","tags":["report"]},{"url":"https://bugzilla.suse.com/1057511","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2016-10507","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14039","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14040","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14041","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14164","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2016-10507","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-10507","tags":["report"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2016-10507","description":"Integer overflow vulnerability in the bmp24toimage function in convertbmp.c in OpenJPEG before 2.2.0 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted bmp file.","status":"published","published":"2017-08-30T09:00:00Z","modified":"2024-08-06T03:21:52.146Z","updated_at":"2026-11-02T14:33:31.450804Z"}],"euvd":[{"id":"EUVD-2016-1689","description":"Integer overflow vulnerability in the bmp24toimage function in convertbmp.c in OpenJPEG before 2.2.0 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted bmp file.","status":"published","published":"2017-08-30T09:00:00Z","modified":"2024-08-06T03:21:52Z","updated_at":"2026-11-03T02:22:23.66215Z"}],"ghsa":[{"id":"GHSA-5vr5-4x8v-hcfp","title":"Integer overflow vulnerability in the bmp24toimage function in convertbmp.c in OpenJPEG before 2...","description":"Integer overflow vulnerability in the bmp24toimage function in convertbmp.c in OpenJPEG before 2.2.0 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted bmp file.","status":"published","published":"2022-05-13T01:16:23Z","modified":"2023-02-01T05:05:00Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:50:12.520785Z"}],"nvd":[{"id":"CVE-2016-10507","description":"Integer overflow vulnerability in the bmp24toimage function in convertbmp.c in OpenJPEG before 2.2.0 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted bmp file.","status":"published","published":"2017-08-30T09:29:00.387Z","modified":"2026-06-17T00:39:48.99Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/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-190"],"updated_at":"2026-11-02T14:03:39.176887Z"}],"osv":[{"id":"CVE-2016-10507","description":"Integer overflow vulnerability in the bmp24toimage function in convertbmp.c in OpenJPEG before 2.2.0 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted bmp file.","status":"published","published":"2017-08-30T09:29:00.387Z","modified":"2026-10-20T10:47:10.684876298Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:01.531338Z"},{"id":"DEBIAN-CVE-2016-10507","description":"Integer overflow vulnerability in the bmp24toimage function in convertbmp.c in OpenJPEG before 2.2.0 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted bmp file.","status":"published","published":"2017-08-30T09:29:00.387Z","modified":"2026-09-22T07:01:20.448997127Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:27.323751Z"},{"id":"UBUNTU-CVE-2016-10507","description":"Integer overflow vulnerability in the bmp24toimage function in convertbmp.c in OpenJPEG before 2.2.0 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted bmp file.","status":"published","published":"2017-08-30T09:29:00Z","modified":"2026-04-22T10:26:09.76662Z","cvss":[{"version":"3.0","score":6.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:11.492576Z"},{"id":"openSUSE-SU-2017:2685-1","title":"Security update for openjpeg2","description":"This update for openjpeg2 fixes several issues.\n\nThese security issues were fixed:\n\n- CVE-2016-10507: Integer overflow vulnerability in the bmp24toimage function\n  allowed remote attackers to cause a denial of service (heap-based buffer\n  over-read and application crash) via a crafted bmp file (bsc#1056421).\n- CVE-2017-14039: A heap-based buffer overflow was discovered in the\n  opj_t2_encode_packet function. The vulnerability caused an out-of-bounds write,\n  which may have lead to remote denial of service or possibly unspecified other\n  impact (bsc#1056622).\n- CVE-2017-14164: A size-validation issue was discovered in opj_j2k_write_sot.\n  The vulnerability caused an out-of-bounds write, which may have lead to remote\n  DoS or possibly remote code execution (bsc#1057511).\n- CVE-2017-14040: An invalid write access was discovered in bin/jp2/convert.c,\n  triggering a crash in the tgatoimage function. The vulnerability may have lead\n  to remote denial of service or possibly unspecified other impact (bsc#1056621).\n- CVE-2017-14041: A stack-based buffer overflow was discovered in the\n  pgxtoimage function. The vulnerability caused an out-of-bounds write, which may\n  have lead to remote denial of service or possibly remote code execution\n  (bsc#1056562).\n\nThis update was imported from the SUSE:SLE-12-SP2:Update update project.","status":"published","published":"2017-10-10T07:16:40Z","modified":"2026-02-04T03:04:06.537916Z","updated_at":"2026-11-02T16:58:30.39372Z"},{"id":"openSUSE-SU-2017:2686-1","title":"Security update for openjpeg2","description":"This update for openjpeg2 fixes several issues.\n\nThese security issues were fixed:\n\n- CVE-2016-10507: Integer overflow vulnerability in the bmp24toimage function\n  allowed remote attackers to cause a denial of service (heap-based buffer\n  over-read and application crash) via a crafted bmp file (bsc#1056421).\n- CVE-2017-14039: A heap-based buffer overflow was discovered in the\n  opj_t2_encode_packet function. The vulnerability caused an out-of-bounds write,\n  which may have lead to remote denial of service or possibly unspecified other\n  impact (bsc#1056622).\n- CVE-2017-14164: A size-validation issue was discovered in opj_j2k_write_sot.\n  The vulnerability caused an out-of-bounds write, which may have lead to remote\n  DoS or possibly remote code execution (bsc#1057511).\n- CVE-2017-14040: An invalid write access was discovered in bin/jp2/convert.c,\n  triggering a crash in the tgatoimage function. The vulnerability may have lead\n  to remote denial of service or possibly unspecified other impact (bsc#1056621).\n- CVE-2017-14041: A stack-based buffer overflow was discovered in the\n  pgxtoimage function. The vulnerability caused an out-of-bounds write, which may\n  have lead to remote denial of service or possibly remote code execution\n  (bsc#1056562).\n\nThis update was imported from the SUSE:SLE-12-SP2:Update update project.","status":"published","published":"2017-10-10T07:16:40Z","modified":"2026-02-04T03:16:39.46619Z","updated_at":"2026-11-02T16:58:30.39372Z"},{"id":"SUSE-SU-2017:2649-1","title":"Security update for openjpeg2","description":"This update for openjpeg2 fixes several issues.\n\nThese security issues were fixed:\n\n- CVE-2016-10507: Integer overflow vulnerability in the bmp24toimage function\n  allowed remote attackers to cause a denial of service (heap-based buffer\n  over-read and application crash) via a crafted bmp file (bsc#1056421).\n- CVE-2017-14039: A heap-based buffer overflow was discovered in the\n  opj_t2_encode_packet function. The vulnerability caused an out-of-bounds write,\n  which may have lead to remote denial of service or possibly unspecified other\n  impact (bsc#1056622).\n- CVE-2017-14164: A size-validation issue was discovered in opj_j2k_write_sot.\n  The vulnerability caused an out-of-bounds write, which may have lead to remote\n  DoS or possibly remote code execution (bsc#1057511).\n- CVE-2017-14040: An invalid write access was discovered in bin/jp2/convert.c,\n  triggering a crash in the tgatoimage function. The vulnerability may have lead\n  to remote denial of service or possibly unspecified other impact (bsc#1056621).\n- CVE-2017-14041: A stack-based buffer overflow was discovered in the\n  pgxtoimage function. The vulnerability caused an out-of-bounds write, which may\n  have lead to remote denial of service or possibly remote code execution\n  (bsc#1056562).\n","status":"published","published":"2017-10-05T05:58:07Z","modified":"2026-02-04T04:29:39.095021Z","updated_at":"2026-11-02T15:53:44.209561Z"}]}}
