{"id":"CVE-2017-6851","aliases":["EUVD-2017-15905","GHSA-6ww4-5qw3-6h8q","MGASA-2020-0337"],"status":"published","title":"The jas_matrix_bindsub function in jas_seq.c in JasPer 2.0.10 allows remote attackers to cause a...","description":"The jas_matrix_bindsub function in jas_seq.c in JasPer 2.0.10 allows remote attackers to cause a denial of service (invalid read) 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-07","score":0.0157,"percentile":0.75516,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-125"],"published":"2017-03-15T14:00:00Z","modified":"2026-10-20T10:49:32Z","affected":[{"source":"osv","ecosystem":"Mageia:7","package":"jasper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.19-1.mga7"}]}],"bundled":16}],"products":[{"vendor":"jasper_project","product":"jasper"}],"references":[{"url":"https://github.com/mdadams/jasper/issues/113","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"https://blogs.gentoo.org/ago/2017/01/25/jasper-invalid-memory-read-in-jas_matrix_bindsub-jas_seq-c/","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"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-6851"},{"url":"https://blogs.gentoo.org/ago/2017/01/25/jasper-invalid-memory-read-in-jas_matrix_bindsub-jas_seq-c"},{"url":"https://github.com/advisories/GHSA-6ww4-5qw3-6h8q"},{"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"]}],"sources":{"cve":[{"id":"CVE-2017-6851","description":"The jas_matrix_bindsub function in jas_seq.c in JasPer 2.0.10 allows remote attackers to cause a denial of service (invalid read) via a crafted image.","status":"published","published":"2017-03-15T14:00:00Z","modified":"2024-08-05T15:41:17.587Z","updated_at":"2026-11-02T14:33:16.578111Z"}],"euvd":[{"id":"EUVD-2017-15905","description":"The jas_matrix_bindsub function in jas_seq.c in JasPer 2.0.10 allows remote attackers to cause a denial of service (invalid read) 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-6ww4-5qw3-6h8q","title":"The jas_matrix_bindsub function in jas_seq.c in JasPer 2.0.10 allows remote attackers to cause a...","description":"The jas_matrix_bindsub function in jas_seq.c in JasPer 2.0.10 allows remote attackers to cause a denial of service (invalid read) via a crafted image.","status":"published","published":"2022-05-14T00:54:19Z","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-125"],"updated_at":"2026-11-02T15:01:42.936377Z"}],"nvd":[{"id":"CVE-2017-6851","description":"The jas_matrix_bindsub function in jas_seq.c in JasPer 2.0.10 allows remote attackers to cause a denial of service (invalid read) via a crafted image.","status":"published","published":"2017-03-15T14:59:01.587Z","modified":"2026-06-17T01:23:13.677Z","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-125"],"updated_at":"2026-11-02T14:03:44.275273Z"}],"osv":[{"id":"CVE-2017-6851","description":"The jas_matrix_bindsub function in jas_seq.c in JasPer 2.0.10 allows remote attackers to cause a denial of service (invalid read) via a crafted image.","status":"published","published":"2017-03-15T14:59:01.587Z","modified":"2026-10-20T10:49:32.547645116Z","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":"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"}]}}
