{"id":"CVE-2017-6852","aliases":["EUVD-2017-15906","GHSA-7g22-749p-gwv4","MGASA-2020-0337","UBUNTU-CVE-2017-6852"],"status":"published","title":"Heap-based buffer overflow in the jpc_dec_decodepkt function in jpc_t2dec.c in JasPer 2.0.10...","description":"Heap-based buffer overflow in the jpc_dec_decodepkt function in jpc_t2dec.c in JasPer 2.0.10 allows remote attackers to have unspecified impact via a crafted image.","severity":{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01866,"percentile":0.7944,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-119"],"published":"2017-03-15T14:00:00Z","modified":"2026-10-20T10:50:08Z","affected":[{"source":"osv","ecosystem":"Mageia:7","package":"jasper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.19-1.mga7"}]}],"bundled":16},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"jasper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.900.1-debian1-2.4","1.900.1-debian1-2.4ubuntu1","1.900.1-debian1-2.4ubuntu1.1","1.900.1-debian1-2.4ubuntu1.2","1.900.1-debian1-2.4ubuntu1.3"]}],"products":[{"vendor":"jasper_project","product":"jasper"}],"references":[{"url":"https://blogs.gentoo.org/ago/2017/01/25/jasper-heap-based-buffer-overflow-in-jpc_dec_decodepkt-jpc_t2dec-c/","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://github.com/mdadams/jasper/issues/114","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"https://security.gentoo.org/glsa/201908-03","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-6852"},{"url":"https://blogs.gentoo.org/ago/2017/01/25/jasper-heap-based-buffer-overflow-in-jpc_dec_decodepkt-jpc_t2dec-c"},{"url":"https://github.com/advisories/GHSA-7g22-749p-gwv4"},{"url":"https://advisories.mageia.org/MGASA-2020-0337.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=27045","tags":["report"]},{"url":"https://github.com/jasper-software/jasper/blob/master/NEWS","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2017-6852","tags":["report"]},{"url":"http://www.openwall.com/lists/oss-security/2017/01/25/10","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-6852","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-6852","description":"Heap-based buffer overflow in the jpc_dec_decodepkt function in jpc_t2dec.c in JasPer 2.0.10 allows remote attackers to have unspecified impact via a crafted image.","status":"published","published":"2017-03-15T14:00:00Z","modified":"2024-08-05T15:41:17.621Z","updated_at":"2026-11-02T14:33:16.916541Z"}],"euvd":[{"id":"EUVD-2017-15906","description":"Heap-based buffer overflow in the jpc_dec_decodepkt function in jpc_t2dec.c in JasPer 2.0.10 allows remote attackers to have unspecified impact 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-7g22-749p-gwv4","title":"Heap-based buffer overflow in the jpc_dec_decodepkt function in jpc_t2dec.c in JasPer 2.0.10...","description":"Heap-based buffer overflow in the jpc_dec_decodepkt function in jpc_t2dec.c in JasPer 2.0.10 allows remote attackers to have unspecified impact via a crafted image.","status":"published","published":"2022-05-14T00:54:15Z","modified":"2025-04-20T03:35:14Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T15:01:42.936377Z"}],"nvd":[{"id":"CVE-2017-6852","description":"Heap-based buffer overflow in the jpc_dec_decodepkt function in jpc_t2dec.c in JasPer 2.0.10 allows remote attackers to have unspecified impact via a crafted image.","status":"published","published":"2017-03-15T14:59:01.637Z","modified":"2026-06-17T01:23:13.81Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:03:44.275273Z"}],"osv":[{"id":"CVE-2017-6852","description":"Heap-based buffer overflow in the jpc_dec_decodepkt function in jpc_t2dec.c in JasPer 2.0.10 allows remote attackers to have unspecified impact via a crafted image.","status":"published","published":"2017-03-15T14:59:01.637Z","modified":"2026-10-20T10:50:08.45729794Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:06.412595Z"},{"id":"UBUNTU-CVE-2017-6852","description":"Heap-based buffer overflow in the jpc_dec_decodepkt function in jpc_t2dec.c in JasPer 2.0.10 allows remote attackers to have unspecified impact via a crafted image.","status":"published","published":"2017-03-15T14:59:00Z","modified":"2026-04-22T11:30:21.369784Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:15.773974Z"},{"id":"MGASA-2020-0337","title":"Updated jasper packages fix security vulnerabilities","description":"The jas_matrix_bindsub function in jas_seq.c in JasPer 2.0.10 allows remote\nattackers to cause a denial of service (invalid read) via a crafted image\n(CVE-2017-6851).\n\nHeap-based buffer overflow in the jpc_dec_decodepkt function in jpc_t2dec.c in\nJasPer 2.0.10 allows remote attackers to have unspecified impact via a crafted\nimage (CVE-2017-6852).\n\nJasPer 2.0.12 allows remote attackers to cause a denial of service (heap-based\nbuffer over-read and application crash) via a crafted image, related to the\njp2_decode function in libjasper/jp2/jp2_dec.c (CVE-2017-9782).\n\nThere is a reachable assertion abort in the function jpc_dec_process_sot() in\njpc/jpc_dec.c in JasPer 2.0.12 that will lead to a remote denial of service\nattack by triggering an unexpected jpc_ppmstabtostreams return value (CVE-2017-13745).\n\nThere is a reachable assertion abort in the function jpc_dec_process_siz() in\njpc/jpc_dec.c:1297 in JasPer 2.0.12 that will lead to a remote denial of\nservice attack (CVE-2017-13746).\n\nThere are lots of memory leaks in JasPer 2.0.12, triggered in the function\njas_strdup() in base/jas_string.c, that will lead to a remote denial of\nservice attack (CVE-2017-13748).\n\nThere is a reachable assertion abort in the function jpc_pi_nextrpcl() in\njpc/jpc_t2cod.c in JasPer 2.0.12 that will lead to a remote denial of service\nattack (CVE-2017-13749).\n\nThere is a reachable assertion abort in the function jpc_dec_process_siz() in\njpc/jpc_dec.c:1296 in JasPer 2.0.12 that will lead to a remote denial of\nservice attack (CVE-2017-13750).\n\nThere is a reachable assertion abort in the function calcstepsizes() in\njpc/jpc_dec.c in JasPer 2.0.12 that will lead to a remote denial of service\nattack (CVE-2017-13751).\n\nJasPer 2.0.13 allows remote attackers to cause a denial of service (heap-based\nbuffer over-read and application crash) via a crafted image, related to the\njas_image_ishomosamp function in libjasper/base/jas_image.c (CVE-2017-14132).\n\nJasPer 2.0.14 allows denial of service via a reachable assertion in the\nfunction jpc_abstorelstepsize in libjasper/jpc/jpc_enc.c (CVE-2018-9252).\n\nAn issue was discovered in JasPer 2.0.14. There is a NULL pointer dereference\nin the function ras_putdatastd in ras/ras_enc.c (CVE-2018-18873).\n\nAn issue has been found in JasPer 2.0.14. There is a memory leak in\njas_malloc.c when called from jpc_unk_getparms in jpc_cs.c (CVE-2018-19139).\n\nAn issue was discovered in JasPer 2.0.14. There is a heap-based buffer\nover-read of size 8 in the function jp2_decode in libjasper/jp2/jp2_dec.c\n(CVE-2018-19543).\n\njp2_encode in jp2/jp2_enc.c in JasPer 2.0.14 has a heap-based buffer over-read\n(CVE-2018-20570).\n\nJasPer 2.0.14 has a memory leak in base/jas_malloc.c in libjasper.a when\n\"--output-format jp2\" is used (CVE-2018-20622).\n","status":"published","published":"2020-08-18T20:43:16Z","modified":"2026-04-16T04:40:43.489402582Z","updated_at":"2026-11-02T15:49:41.151324Z"}]}}
