{"id":"CVE-2016-10506","aliases":["DEBIAN-CVE-2016-10506","EUVD-2016-1688","GHSA-7pwx-r922-2j5r","UBUNTU-CVE-2016-10506","USN-4782-1","USN-5664-1","openSUSE-SU-2024:11120-1"],"status":"published","title":"Division-by-zero vulnerabilities in the functions opj_pi_next_cprl, opj_pi_next_pcrl, and...","description":"Division-by-zero vulnerabilities in the functions opj_pi_next_cprl, opj_pi_next_pcrl, and opj_pi_next_rpcl in pi.c in OpenJPEG before 2.2.0 allow remote attackers to cause a denial of service (application crash) via crafted j2k files.","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-09","score":0.03319,"percentile":0.88672,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-369"],"published":"2017-08-30T09:00:00Z","modified":"2026-10-20T13:13:19Z","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+deb9u5build0.16.04.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"openjpeg","fixed_in":["1:1.5.2-3.1ubuntu0.1~esm2"],"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:14.04:LTS","package":"openjpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3+dfsg-4.6ubuntu2","1.3+dfsg-4.7ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.2-1.1+deb9u5build0.16.04.1"}]}],"versions":["2.1.0-2.1","2.1.0-2.1ubuntu0.1","2.1.2-1.1+deb9u2build0.1","2.1.2-1.1+deb9u3build0.16.04.1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"openjpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.5.2-3.1ubuntu0.1~esm2"}]}],"versions":["1:1.5.2-3.1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.2-1.1+deb9u6ubuntu0.1~esm1"}]}],"versions":["2.1.0-2.1","2.1.0-2.1ubuntu0.1","2.1.2-1.1+deb9u2build0.1","2.1.2-1.1+deb9u3build0.16.04.1","2.1.2-1.1+deb9u3ubuntu0.1~esm1","2.1.2-1.1+deb9u5build0.16.04.1","2.1.2-1.1+deb9u5ubuntu0.1~esm1","2.1.2-1.1+deb9u6build0.16.04.1"],"bundled":6},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"openjpeg2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.0-2ubuntu0.1~esm1"}]}],"versions":["2.2.0-1","2.3.0-1","2.3.0-2build0.18.04.1"],"bundled":6},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"openjpeg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:1.5.2-3.1ubuntu0.1~esm2"}]}],"versions":["1:1.5.2-3.1"],"bundled":6}],"products":[{"vendor":"uclouvain","product":"openjpeg"}],"references":[{"url":"http://www.securityfocus.com/bid/100573","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://github.com/uclouvain/openjpeg/commit/d27ccf01c68a31ad62b33d2dc1ba2bb1eeaafe7b","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"https://security.gentoo.org/glsa/201710-26","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"https://github.com/uclouvain/openjpeg/issues/779","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"url":"https://github.com/uclouvain/openjpeg/issues/732","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"url":"https://github.com/uclouvain/openjpeg/issues/780","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"url":"https://github.com/uclouvain/openjpeg/issues/777","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"url":"https://github.com/uclouvain/openjpeg/issues/731","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"url":"https://github.com/uclouvain/openjpeg/issues/778","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10506"},{"url":"https://github.com/advisories/GHSA-7pwx-r922-2j5r"},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-10506","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2016-10506","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5664-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/notices/USN-4782-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-10506","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-12982","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-5727","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-16375","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-20845","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-12973","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-7445","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-9112","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-17479","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2018-18088","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2020-27824","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-10506","description":"Division-by-zero vulnerabilities in the functions opj_pi_next_cprl, opj_pi_next_pcrl, and opj_pi_next_rpcl in pi.c in OpenJPEG before 2.2.0 allow remote attackers to cause a denial of service (application crash) via crafted j2k files.","status":"published","published":"2017-08-30T09:00:00Z","modified":"2024-08-06T03:21:52.158Z","updated_at":"2026-11-02T14:33:31.450804Z"}],"euvd":[{"id":"EUVD-2016-1688","description":"Division-by-zero vulnerabilities in the functions opj_pi_next_cprl, opj_pi_next_pcrl, and opj_pi_next_rpcl in pi.c in OpenJPEG before 2.2.0 allow remote attackers to cause a denial of service (application crash) via crafted j2k files.","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-7pwx-r922-2j5r","title":"Division-by-zero vulnerabilities in the functions opj_pi_next_cprl, opj_pi_next_pcrl, and...","description":"Division-by-zero vulnerabilities in the functions opj_pi_next_cprl, opj_pi_next_pcrl, and opj_pi_next_rpcl in pi.c in OpenJPEG before 2.2.0 allow remote attackers to cause a denial of service (application crash) via crafted j2k files.","status":"published","published":"2022-05-13T01:16:22Z","modified":"2023-02-01T05:04:53Z","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-369"],"updated_at":"2026-11-02T14:50:11.93472Z"}],"nvd":[{"id":"CVE-2016-10506","description":"Division-by-zero vulnerabilities in the functions opj_pi_next_cprl, opj_pi_next_pcrl, and opj_pi_next_rpcl in pi.c in OpenJPEG before 2.2.0 allow remote attackers to cause a denial of service (application crash) via crafted j2k files.","status":"published","published":"2017-08-30T09:29:00.327Z","modified":"2026-06-17T00:39:48.853Z","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-369"],"updated_at":"2026-11-02T14:03:39.176887Z"}],"osv":[{"id":"CVE-2016-10506","description":"Division-by-zero vulnerabilities in the functions opj_pi_next_cprl, opj_pi_next_pcrl, and opj_pi_next_rpcl in pi.c in OpenJPEG before 2.2.0 allow remote attackers to cause a denial of service (application crash) via crafted j2k files.","status":"published","published":"2017-08-30T09:29:00.327Z","modified":"2026-10-20T13:13:19.925437346Z","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-10506","description":"Division-by-zero vulnerabilities in the functions opj_pi_next_cprl, opj_pi_next_pcrl, and opj_pi_next_rpcl in pi.c in OpenJPEG before 2.2.0 allow remote attackers to cause a denial of service (application crash) via crafted j2k files.","status":"published","published":"2017-08-30T09:29:00.327Z","modified":"2026-09-22T07:01:22.150248541Z","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-10506","description":"Division-by-zero vulnerabilities in the functions opj_pi_next_cprl, opj_pi_next_pcrl, and opj_pi_next_rpcl in pi.c in OpenJPEG before 2.2.0 allow remote attackers to cause a denial of service (application crash) via crafted j2k files.","status":"published","published":"2017-08-30T09:29:00Z","modified":"2026-04-22T10:31:04.158862Z","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"},{"id":"USN-4782-1","title":"openjpeg2 vulnerabilities","description":"It was discovered that OpenJPEG incorrectly handled certain image files. A\nremote attacker could possibly use this issue to cause a denial of service.\nCVE-2016-10506 and CVE-2017-12982 affected only Ubuntu 16.04 ESM.\nCVE-2018-16375, CVE-2018-20845 and CVE-2019-12973 affected only\nUbuntu 18.04 ESM.\n","status":"published","published":"2021-03-17T17:24:23Z","modified":"2026-06-25T13:30:25.010561132Z","updated_at":"2026-11-02T16:58:15.159055Z"},{"id":"USN-5664-1","title":"openjpeg vulnerabilities","description":"It was discovered that OpenJPEG did not properly handle PNM\nheaders, resulting in a null pointer dereference. A remote\nattacker could possibly use this issue to cause a denial of\nservice (DoS). (CVE-2016-7445)\n\nIt was discovered that OpenJPEG incorrectly handled certain\nimage files resulting in division by zero.  A remote attacker\ncould possibly use this issue to cause a denial of service\n(DoS). (CVE-2016-9112 and CVE-2016-10506)\n\nIt was discovered that OpenJPEG incorrectly handled converting\ncertain image files resulting in a stack buffer overflow. A\nremote attacker could possibly use this issue to cause a\ndenial of service (DoS). (CVE-2017-17479)\n\nIt was discovered that OpenJPEG incorrectly handled converting\nPNM image files resulting in a null pointer dereference. A\nremote attacker could possibly use this issue to cause a denial\nof service (DoS). (CVE-2018-18088)\n\nIt was discovered that OpenJPEG incorrectly handled converting\nDWT images files resulting in a buffer overflow. A remote\nattacker could possibly use this issue to cause a denial of\nservice (DoS). (CVE-2020-27824)\n","status":"published","published":"2022-10-07T21:44:33Z","modified":"2026-06-25T13:31:25.884117691Z","updated_at":"2026-11-02T16:58:16.20937Z"}]}}
