{"id":"CVE-2017-7975","aliases":["DEBIAN-CVE-2017-7975","DLA-942-1","DSA-3855-1","EUVD-2017-16945","GHSA-8rh8-m25j-rhmp","MGASA-2017-0206","UBUNTU-CVE-2017-7975","USN-3297-1"],"status":"published","title":"Artifex jbig2dec 0.13, as used in Ghostscript, allows out-of-bounds writes because of an integer...","description":"Artifex jbig2dec 0.13, as used in Ghostscript, allows out-of-bounds writes because of an integer overflow in the jbig2_build_huffman_table function in jbig2_huffman.c during operations on a crafted JBIG2 file, leading to a denial of service (application crash) or possibly execution of arbitrary code.","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.01672,"percentile":0.76967,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-190"],"published":"2017-04-19T00:00:00Z","modified":"2026-10-24T10:31:04Z","fixes":[{"ecosystem":"Debian:12","package":"jbig2dec","fixed_in":["0.13-4.1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"jbig2dec","fixed_in":["0.13-4.1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"jbig2dec","fixed_in":["0.13-4.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"jbig2dec","fixed_in":["0.11+20120125-1ubuntu1.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"jbig2dec","fixed_in":["0.12+20150918-1ubuntu0.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"jbig2dec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.13-4.1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"jbig2dec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.13-4.1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"jbig2dec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.13-4.1"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"jbig2dec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.13-4~deb7u2"}]}],"versions":["0.11+20120125-1","0.12+20150918-1","0.12-1","0.12-2","0.13-1","0.13-2","0.13-3","0.13-4~deb7u1"],"bundled":3},{"source":"osv","ecosystem":"Debian:8","package":"jbig2dec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.13-4~deb8u2"}]}],"versions":["0.11+20120125-1","0.12+20150918-1","0.12-1","0.12-2","0.13-1","0.13-2","0.13-3","0.13-4~deb7u1","0.13-4~deb7u2","0.13-4~deb8u1"],"bundled":3},{"source":"osv","ecosystem":"Mageia:5","package":"jbig2dec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.13-1.mga5"}]}],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"jbig2dec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11+20120125-1ubuntu1.1"}]}],"versions":["0.11+20120125-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"jbig2dec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12+20150918-1ubuntu0.1"}]}],"versions":["0.12-2","0.12+20150918-1"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"jbig2dec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11+20120125-1ubuntu1.1"}]}],"versions":["0.11+20120125-1ubuntu1"],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"jbig2dec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12+20150918-1ubuntu0.1"}]}],"versions":["0.12-2","0.12+20150918-1"],"bundled":4}],"products":[{"vendor":"artifex","product":"jbig2dec"}],"references":[{"url":"http://www.debian.org/security/2017/dsa-3855","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"https://bugs.ghostscript.com/show_bug.cgi?id=697693","tags":["x_refsource_MISC","x_transferred","Issue Tracking","report"]},{"url":"https://security.gentoo.org/glsa/201708-10","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-7975"},{"url":"https://github.com/advisories/GHSA-8rh8-m25j-rhmp"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-7975","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2017-0206.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=20565","tags":["report"]},{"url":"https://www.debian.org/security/2017/dsa-3817","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/XWQQMCDLDOZ535O3IKFQZE3VPCWC3HWH/","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2017-7975","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3297-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-7975","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2016-9601","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-7885","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-7976","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-7975","description":"Artifex jbig2dec 0.13, as used in Ghostscript, allows out-of-bounds writes because of an integer overflow in the jbig2_build_huffman_table function in jbig2_huffman.c during operations on a crafted JBIG2 file, leading to a denial of service (application crash) or possibly execution of arbitrary code.","status":"published","published":"2017-04-19T16:00:00Z","modified":"2024-08-05T16:19:29.354Z","updated_at":"2026-11-02T14:33:20.171335Z"}],"euvd":[{"id":"EUVD-2017-16945","description":"Artifex jbig2dec 0.13, as used in Ghostscript, allows out-of-bounds writes because of an integer overflow in the jbig2_build_huffman_table function in jbig2_huffman.c during operations on a crafted JBIG2 file, leading to a denial of service (application crash) or possibly execution of arbitrary code.","status":"published","published":"2017-04-19T16:00:00Z","modified":"2024-08-05T16:19:29Z","updated_at":"2026-11-03T02:39:06.470138Z"}],"ghsa":[{"id":"GHSA-8rh8-m25j-rhmp","title":"Artifex jbig2dec 0.13, as used in Ghostscript, allows out-of-bounds writes because of an integer...","description":"Artifex jbig2dec 0.13, as used in Ghostscript, allows out-of-bounds writes because of an integer overflow in the jbig2_build_huffman_table function in jbig2_huffman.c during operations on a crafted JBIG2 file, leading to a denial of service (application crash) or possibly execution of arbitrary code.","status":"published","published":"2022-05-17T00:26:37Z","modified":"2023-02-03T05:01:43Z","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-190"],"updated_at":"2026-11-02T14:53:01.625617Z"}],"nvd":[{"id":"CVE-2017-7975","description":"Artifex jbig2dec 0.13, as used in Ghostscript, allows out-of-bounds writes because of an integer overflow in the jbig2_build_huffman_table function in jbig2_huffman.c during operations on a crafted JBIG2 file, leading to a denial of service (application crash) or possibly execution of arbitrary code.","status":"published","published":"2017-04-19T16:59:00.183Z","modified":"2026-06-17T01:25:34.56Z","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-190"],"updated_at":"2026-11-02T14:03:46.08744Z"}],"osv":[{"id":"CVE-2017-7975","description":"Artifex jbig2dec 0.13, as used in Ghostscript, allows out-of-bounds writes because of an integer overflow in the jbig2_build_huffman_table function in jbig2_huffman.c during operations on a crafted JBIG2 file, leading to a denial of service (application crash) or possibly execution of arbitrary code.","status":"published","published":"2017-04-19T16:59:00.183Z","modified":"2026-10-24T10:31:04.444169327Z","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.868403Z"},{"id":"DEBIAN-CVE-2017-7975","description":"Artifex jbig2dec 0.13, as used in Ghostscript, allows out-of-bounds writes because of an integer overflow in the jbig2_build_huffman_table function in jbig2_huffman.c during operations on a crafted JBIG2 file, leading to a denial of service (application crash) or possibly execution of arbitrary code.","status":"published","published":"2017-04-19T16:59:00.183Z","modified":"2026-09-01T20:03:50.65039436Z","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:45:29.698576Z"},{"id":"UBUNTU-CVE-2017-7975","description":"Artifex jbig2dec 0.13, as used in Ghostscript, allows out-of-bounds writes because of an integer overflow in the jbig2_build_huffman_table function in jbig2_huffman.c during operations on a crafted JBIG2 file, leading to a denial of service (application crash) or possibly execution of arbitrary code.","status":"published","published":"2017-04-19T00:00:00Z","modified":"2026-04-22T11:33:48.590644Z","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":"DLA-942-1","title":"jbig2dec - security update","status":"published","published":"2017-05-15T00:00:00Z","modified":"2026-03-09T02:08:32.745833Z","updated_at":"2026-11-02T15:46:13.584509Z"},{"id":"DSA-3855-1","title":"jbig2dec - security update","status":"published","published":"2017-05-18T00:00:00Z","modified":"2026-03-09T01:19:58.372698Z","updated_at":"2026-11-02T15:46:16.523846Z"},{"id":"MGASA-2017-0206","title":"Updated jbig2dec packages fix security vulnerability","description":"Multiple security issues have been found in the JBIG2 decoder library,\nwhich may lead to lead to denial of service or the execution of arbitrary\ncode if a malformed image file (usually embedded in a PDF document) is\nopened (CVE-2016-9601).\n\nArtifex jbig2dec has a heap-based buffer over-read leading to denial of\nservice (application crash) because of an integer overflow in the\njbig2_decode_symbol_dict function in jbig2_symbol_dict.c in libjbig2dec.a\nduring operation on a crafted .jb2 file (CVE-2017-7885).\n\nArtifex jbig2dec allows out-of-bounds writes because of an integer\noverflow in the jbig2_build_huffman_table function in jbig2_huffman.c\nduring operations on a crafted JBIG2 file, leading to a denial of service\n(application crash) or possibly execution of arbitrary code\n(CVE-2017-7975).\n\nArtifex jbig2dec allows out-of-bounds writes and reads because of an\ninteger overflow in the jbig2_image_compose function in jbig2_image.c\nduring operations on a crafted .jb2 file, leading to a denial of service\n(application crash) (CVE-2017-7976).\n","status":"published","published":"2017-07-13T09:10:46Z","modified":"2026-04-16T06:23:46.091881822Z","updated_at":"2026-11-02T15:49:40.103088Z"},{"id":"USN-3297-1","title":"jbig2dec vulnerabilities","description":"Bingchang Liu discovered that jbig2dec incorrectly handled memory when\ndecoding malformed image files. If a user or automated system were tricked\ninto processing a specially crafted JBIG2 image file, a remote attacker\ncould cause jbig2dec to crash, resulting in a denial of service, or\npossibly execute arbitrary code. This issue only applied to Ubuntu 14.04\nLTS, Ubuntu 16.04 LTS and Ubuntu 16.10. (CVE-2016-9601)\n\nIt was discovered that jbig2dec incorrectly handled memory when decoding\nmalformed image files. If a user or automated system were tricked into\nprocessing a specially crafted JBIG2 image file, a remote attacker could\ncause jbig2dec to crash, resulting in a denial of service, or possibly\ndisclose sensitive information. (CVE-2017-7885)\n\nJiaqi Peng discovered that jbig2dec incorrectly handled memory when\ndecoding malformed image files. If a user or automated system were tricked\ninto processing a specially crafted JBIG2 image file, a remote attacker\ncould cause jbig2dec to crash, resulting in a denial of service, or\npossibly execute arbitrary code. (CVE-2017-7975)\n\nDai Ge discovered that jbig2dec incorrectly handled memory when decoding\nmalformed image files. If a user or automated system were tricked into\nprocessing a specially crafted JBIG2 image file, a remote attacker could\ncause jbig2dec to crash, resulting in a denial of service, or possibly\ndisclose sensitive information. (CVE-2017-7976)\n","status":"published","published":"2017-05-24T11:29:08Z","modified":"2026-04-22T09:35:34.520171Z","updated_at":"2026-11-02T16:58:13.496563Z"}]}}
