{"id":"CVE-2017-6850","aliases":["EUVD-2017-15904","GHSA-4jr4-j3wj-73cj","MGASA-2017-0474","SUSE-SU-2017:0946-1","SUSE-SU-2017:0953-1","UBUNTU-CVE-2017-6850","USN-3693-1","openSUSE-SU-2024:10869-1"],"status":"published","title":"The jp2_cdef_destroy function in jp2_cod.c in JasPer before 2.0.13 allows remote attackers to...","description":"The jp2_cdef_destroy function in jp2_cod.c in JasPer before 2.0.13 allows remote attackers to cause a denial of service (NULL pointer dereference) via a crafted image.","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-08","score":0.01765,"percentile":0.78211,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-476"],"published":"2017-03-15T00:00:00Z","modified":"2026-10-20T13:22:47Z","fixes":[{"ecosystem":"Ubuntu:14.04:LTS","package":"jasper","fixed_in":["1.900.1-14ubuntu3.5"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"jasper","fixed_in":["1.900.1-debian1-2.4ubuntu1.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Mageia:5","package":"jasper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.900.23-1.mga5"}]}],"bundled":39},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 11 SP4","package":"jasper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.900.14-134.32.1"}]}],"bundled":10},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 11 SP4","package":"jasper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.900.14-134.32.1"}]}],"bundled":10},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 11 SP4","package":"jasper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.900.14-134.32.1"}]}],"bundled":10},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP1","package":"jasper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.900.14-194.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Desktop 12 SP2","package":"jasper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.900.14-194.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2","package":"jasper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.900.14-194.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP1","package":"jasper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.900.14-194.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP2","package":"jasper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.900.14-194.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP1","package":"jasper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.900.14-194.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP1","package":"jasper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.900.14-194.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP2","package":"jasper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.900.14-194.1"}]}],"bundled":5},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","package":"jasper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.900.14-194.1"}]}],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"jasper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.900.1-14ubuntu3.5"}]}],"versions":["1.900.1-14","1.900.1-14ubuntu3","1.900.1-14ubuntu3.1","1.900.1-14ubuntu3.2","1.900.1-14ubuntu3.3","1.900.1-14ubuntu3.4"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"jasper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.900.1-debian1-2.4ubuntu1.2"}]}],"versions":["1.900.1-debian1-2.4","1.900.1-debian1-2.4ubuntu1","1.900.1-debian1-2.4ubuntu1.1"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"jasper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.900.1-14ubuntu3.5"}]}],"versions":["1.900.1-14","1.900.1-14ubuntu3","1.900.1-14ubuntu3.1","1.900.1-14ubuntu3.2","1.900.1-14ubuntu3.3","1.900.1-14ubuntu3.4"],"bundled":18},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"jasper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.900.1-debian1-2.4ubuntu1.2"}]}],"versions":["1.900.1-debian1-2.4","1.900.1-debian1-2.4ubuntu1","1.900.1-debian1-2.4ubuntu1.1"],"bundled":18},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"jasper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.33-1.2"}]}],"bundled":38}],"products":[{"vendor":"jasper_project","product":"jasper"}],"references":[{"url":"https://blogs.gentoo.org/ago/2017/01/25/jasper-null-pointer-dereference-in-jp2_cdef_destroy-jp2_cod-c/","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","VDB Entry","fix"]},{"url":"https://github.com/mdadams/jasper/commit/e96fc4fdd525fa0ede28074a7e2b1caf94b58b0d","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"https://github.com/mdadams/jasper/issues/112","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"https://usn.ubuntu.com/3693-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-6850"},{"url":"https://blogs.gentoo.org/ago/2017/01/25/jasper-null-pointer-dereference-in-jp2_cdef_destroy-jp2_cod-c"},{"url":"https://usn.ubuntu.com/3693-1"},{"url":"https://github.com/advisories/GHSA-4jr4-j3wj-73cj"},{"url":"https://advisories.mageia.org/MGASA-2017-0474.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=19605","tags":["report"]},{"url":"https://github.com/mdadams/jasper/releases","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/THLEZURI4D24PRM7SMASC5I25IAWXXTM/","tags":["web"]},{"url":"https://lists.opensuse.org/opensuse-updates/2016-11/msg00010.html","tags":["web"]},{"url":"https://lists.opensuse.org/opensuse-updates/2016-11/msg00018.html","tags":["web"]},{"url":"https://lists.opensuse.org/opensuse-security-announce/2017-04/msg00010.html","tags":["web"]},{"url":"https://lists.opensuse.org/opensuse-updates/2017-07/msg00092.html","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/U5NEJQFBVKG6PRJ5EZ7UIP7ZXOIHDPJF/","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2017/suse-su-20170946-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1010977","tags":["report"]},{"url":"https://bugzilla.suse.com/1010979","tags":["report"]},{"url":"https://bugzilla.suse.com/1011830","tags":["report"]},{"url":"https://bugzilla.suse.com/1012530","tags":["report"]},{"url":"https://bugzilla.suse.com/1015400","tags":["report"]},{"url":"https://bugzilla.suse.com/1015993","tags":["report"]},{"url":"https://bugzilla.suse.com/1018088","tags":["report"]},{"url":"https://bugzilla.suse.com/1020353","tags":["report"]},{"url":"https://bugzilla.suse.com/1021868","tags":["report"]},{"url":"https://bugzilla.suse.com/1029497","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2016-10251","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-8654","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9395","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9398","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9560","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9583","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9591","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9600","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-5498","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-6850","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2017/suse-su-20170953-1/","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-6850","tags":["report"]},{"url":"http://www.openwall.com/lists/oss-security/2017/01/25/8","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3693-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-6850","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2015-5203","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2015-5221","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-8883","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-8887","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-9262","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-9387","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-9388","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-9389","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-9390","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-9391","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-9392","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-9393","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-9394","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-9396","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-9600","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-10248","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-10250","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-1000050","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9262","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9387","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9388","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9389","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9390","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9391","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9392","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9393","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9394","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9396","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9399","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2016-9557","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-1000050","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-13748","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-13750","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14132","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-5499","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-5503","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-18873","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-19139","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-19539","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-19540","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-19541","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-19542","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-19543","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-20570","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-20622","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-9055","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-9154","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-9252","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-27828","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2021-3272","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2017-6850","description":"The jp2_cdef_destroy function in jp2_cod.c in JasPer before 2.0.13 allows remote attackers to cause a denial of service (NULL pointer dereference) via a crafted image.","status":"published","published":"2017-03-15T14:00:00Z","modified":"2024-08-05T15:41:17.596Z","updated_at":"2026-11-02T14:33:16.916541Z"}],"euvd":[{"id":"EUVD-2017-15904","description":"The jp2_cdef_destroy function in jp2_cod.c in JasPer before 2.0.13 allows remote attackers to cause a denial of service (NULL pointer dereference) via a crafted image.","status":"published","published":"2017-03-15T14:00:00Z","modified":"2024-08-05T15:41:17Z","updated_at":"2026-11-03T02:39:10.49179Z"}],"ghsa":[{"id":"GHSA-4jr4-j3wj-73cj","title":"The jp2_cdef_destroy function in jp2_cod.c in JasPer before 2.0.13 allows remote attackers to...","description":"The jp2_cdef_destroy function in jp2_cod.c in JasPer before 2.0.13 allows remote attackers to cause a denial of service (NULL pointer dereference) via a crafted image.","status":"published","published":"2022-05-14T03:15:38Z","modified":"2025-04-20T03:35:14Z","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-476"],"updated_at":"2026-11-02T15:01:42.936377Z"}],"nvd":[{"id":"CVE-2017-6850","description":"The jp2_cdef_destroy function in jp2_cod.c in JasPer before 2.0.13 allows remote attackers to cause a denial of service (NULL pointer dereference) via a crafted image.","status":"published","published":"2017-03-15T14:59:01.557Z","modified":"2026-06-17T01:23:13.543Z","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-476"],"updated_at":"2026-11-02T14:03:44.275273Z"}],"osv":[{"id":"CVE-2017-6850","description":"The jp2_cdef_destroy function in jp2_cod.c in JasPer before 2.0.13 allows remote attackers to cause a denial of service (NULL pointer dereference) via a crafted image.","status":"published","published":"2017-03-15T14:59:01.557Z","modified":"2026-10-20T13:22:47.541141208Z","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.412595Z"},{"id":"UBUNTU-CVE-2017-6850","description":"The jp2_cdef_destroy function in jp2_cod.c in JasPer before 2.0.13 allows remote attackers to cause a denial of service (NULL pointer dereference) via a crafted image.","status":"published","published":"2017-03-15T00:00:00Z","modified":"2026-04-22T11:29:52.946675Z","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.773974Z"},{"id":"MGASA-2017-0474","title":"Updated jasper packages fix security vulnerabilities","description":"The jasper package has been updated and patched to fix several security\nissues.\n","status":"published","published":"2017-12-31T00:10:15Z","modified":"2026-04-16T06:24:44.895473019Z","updated_at":"2026-11-02T15:49:40.442238Z"},{"id":"openSUSE-SU-2024:10869-1","title":"jasper-2.0.33-1.2 on GA media","description":"These are all security issues fixed in the jasper-2.0.33-1.2 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T02:18:39.137926Z","updated_at":"2026-11-02T16:58:34.894275Z"},{"id":"SUSE-SU-2017:0946-1","title":"Security update for jasper","description":"\nThis update for jasper fixes the following issues:\n\nSecurity issues fixed:\n- CVE-2016-8654: Heap-based buffer overflow in QMFB code in JPC codec (bsc#1012530)\n- CVE-2016-9395: Missing sanity checks on the data in a SIZ marker segment (bsc#1010977).\n- CVE-2016-9398: jpc_math.c:94: int jpc_floorlog2(int): Assertion 'x \u003e 0' failed. (bsc#1010979)\n- CVE-2016-9560: stack-based buffer overflow in jpc_tsfb_getbands2 (jpc_tsfb.c) (bsc#1011830)\n- CVE-2016-9583: Out of bounds heap read in jpc_pi_nextpcrl() (bsc#1015400)\n- CVE-2016-9591: Use-after-free on heap in jas_matrix_destroy (bsc#1015993)\n- CVE-2016-9600: Null Pointer Dereference due to missing check for UNKNOWN color space in JP2 encoder (bsc#1018088)\n- CVE-2016-10251: Use of uninitialized value in jpc_pi_nextcprl (jpc_t2cod.c) (bsc#1029497)\n- CVE-2017-5498: left-shift undefined behaviour (bsc#1020353)\n- CVE-2017-6850: NULL pointer dereference in jp2_cdef_destroy (jp2_cod.c) (bsc#1021868)\n","status":"published","published":"2017-04-05T13:26:51Z","modified":"2026-02-04T04:26:43.922764Z","updated_at":"2026-11-02T15:53:43.83457Z"},{"id":"SUSE-SU-2017:0953-1","title":"Security update for jasper","description":"\nThis update for jasper fixes the following issues:\n\nSecurity issues fixed:\n- CVE-2016-9600: Null Pointer Dereference due to missing check for UNKNOWN color space in JP2 encoder (bsc#1018088)\n- CVE-2016-10251: Use of uninitialized value in jpc_pi_nextcprl (jpc_t2cod.c) (bsc#1029497)\n- CVE-2017-5498: left-shift undefined behaviour (bsc#1020353)\n- CVE-2017-6850: NULL pointer dereference in jp2_cdef_destroy (jp2_cod.c) (bsc#1021868)\n- CVE-2016-9583: Out of bounds heap read in jpc_pi_nextpcrl() (bsc#1015400)\n","status":"published","published":"2017-04-06T12:28:24Z","modified":"2026-02-04T03:32:52.223958Z","updated_at":"2026-11-02T15:53:43.83457Z"},{"id":"USN-3693-1","title":"jasper vulnerabilities","description":"It was discovered that JasPer incorrectly handled certain malformed\nJPEG-2000 image files. If a user or automated system using JasPer were\ntricked into opening a specially crafted image, an attacker could exploit\nthis to cause a denial of service or possibly execute code with the\nprivileges of the user invoking the program.\n","status":"published","published":"2018-06-27T17:20:01Z","modified":"2026-04-22T09:46:41.854195Z","updated_at":"2026-11-02T16:58:13.496563Z"}]}}
