{"id":"CVE-2016-10504","aliases":["DEBIAN-CVE-2016-10504","EUVD-2016-1686","GHSA-9658-9wm2-ghj4","UBUNTU-CVE-2016-10504","openSUSE-SU-2024:11120-1"],"status":"published","title":"Heap-based buffer overflow vulnerability in the opj_mqc_byteout function in mqc.c in OpenJPEG...","description":"Heap-based buffer overflow vulnerability in the opj_mqc_byteout function in mqc.c in OpenJPEG before 2.2.0 allows remote attackers to cause a denial of service (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-08","score":0.08223,"percentile":0.94924,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-119"],"published":"2017-08-30T09:00:00Z","modified":"2026-10-20T13:13:13Z","exploits":[{"source":"exploitdb","id":"EDB-42600","title":"OpenJPEG - 'mqc.c' Heap Buffer Overflow","type":"dos","platform":"linux","date":"2017-09-01","url":"https://www.exploit-db.com/exploits/42600"}],"fixes":[{"ecosystem":"Debian:12","package":"openjpeg2","fixed_in":["2.2.0-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"openjpeg2","fixed_in":["2.2.0-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"openjpeg2","fixed_in":["2.2.0-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.2.0-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.0-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.0-1"}]}]},{"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"]}],"products":[{"vendor":"uclouvain","product":"openjpeg"}],"references":[{"url":"https://github.com/uclouvain/openjpeg/issues/835","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://www.exploit-db.com/exploits/42600/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","web"]},{"url":"http://www.debian.org/security/2017/dsa-4013","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://www.securityfocus.com/bid/100564","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://github.com/uclouvain/openjpeg/commit/397f62c0a838e15d667ef50e27d5d011d2c79c04","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10504"},{"url":"https://www.exploit-db.com/exploits/42600"},{"url":"https://github.com/advisories/GHSA-9658-9wm2-ghj4"},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-10504","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2016-10504","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-10504","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2016-10504","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-10505","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-10506","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-5139","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-5152","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-5158","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-8332","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-12982","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-14151","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14152","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-14423","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-16375","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-18088","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-5727","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-5785","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-6616","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-7648","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-12973","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-6851","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-8112","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2016-10504","description":"Heap-based buffer overflow vulnerability in the opj_mqc_byteout function in mqc.c in OpenJPEG before 2.2.0 allows remote attackers to cause a denial of service (application crash) via a crafted bmp file.","status":"published","published":"2017-08-30T09:00:00Z","modified":"2024-08-06T03:21:52.18Z","updated_at":"2026-11-02T14:33:31.450804Z"}],"euvd":[{"id":"EUVD-2016-1686","description":"Heap-based buffer overflow vulnerability in the opj_mqc_byteout function in mqc.c in OpenJPEG before 2.2.0 allows remote attackers to cause a denial of service (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-9658-9wm2-ghj4","title":"Heap-based buffer overflow vulnerability in the opj_mqc_byteout function in mqc.c in OpenJPEG...","description":"Heap-based buffer overflow vulnerability in the opj_mqc_byteout function in mqc.c in OpenJPEG before 2.2.0 allows remote attackers to cause a denial of service (application crash) via a crafted bmp file.","status":"published","published":"2022-05-13T01:16:21Z","modified":"2025-04-20T03:45:14Z","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-119"],"updated_at":"2026-11-02T15:01:51.665447Z"}],"nvd":[{"id":"CVE-2016-10504","description":"Heap-based buffer overflow vulnerability in the opj_mqc_byteout function in mqc.c in OpenJPEG before 2.2.0 allows remote attackers to cause a denial of service (application crash) via a crafted bmp file.","status":"published","published":"2017-08-30T09:29:00.247Z","modified":"2026-06-17T00:39:48.6Z","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-119"],"updated_at":"2026-11-02T14:03:39.176887Z"}],"osv":[{"id":"CVE-2016-10504","description":"Heap-based buffer overflow vulnerability in the opj_mqc_byteout function in mqc.c in OpenJPEG before 2.2.0 allows remote attackers to cause a denial of service (application crash) via a crafted bmp file.","status":"published","published":"2017-08-30T09:29:00.247Z","modified":"2026-10-20T13:13:13.885992682Z","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-10504","description":"Heap-based buffer overflow vulnerability in the opj_mqc_byteout function in mqc.c in OpenJPEG before 2.2.0 allows remote attackers to cause a denial of service (application crash) via a crafted bmp file.","status":"published","published":"2017-08-30T09:29:00.247Z","modified":"2026-09-22T07:01:22.359395278Z","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-10504","description":"Heap-based buffer overflow vulnerability in the opj_mqc_byteout function in mqc.c in OpenJPEG before 2.2.0 allows remote attackers to cause a denial of service (application crash) via a crafted bmp file.","status":"published","published":"2017-08-30T09:29:00Z","modified":"2026-04-22T10:30:25.014881Z","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-2024:11120-1","title":"libopenjp2-7-2.4.0-1.4 on GA media","description":"These are all security issues fixed in the libopenjp2-7-2.4.0-1.4 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:39:34.719167Z","updated_at":"2026-11-02T16:58:34.894275Z"}]}}
