{"id":"USN-8791-1","summary":"ghostscript vulnerability","details":"It was discovered that Ghostscript incorrectly handled JPEG 2000 image\ncomponents with mismatched subsampling factors. An attacker could\npossibly use this issue to cause Ghostscript to crash or execute\narbitrary code if it opened a specially crafted file.","modified":"2026-09-21T21:42:45.261003169Z","published":"2026-09-21T12:51:18Z","related":["UBUNTU-CVE-2026-39919"],"upstream":["CVE-2026-39919","UBUNTU-CVE-2026-39919"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8791-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-39919"}],"affected":[{"package":{"name":"ghostscript","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/ghostscript?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.55.0~dfsg1-0ubuntu5.14"}]}],"versions":["9.54.0~dfsg1-0ubuntu2","9.55.0~dfsg1-0ubuntu4","9.55.0~dfsg1-0ubuntu5","9.55.0~dfsg1-0ubuntu5.1","9.55.0~dfsg1-0ubuntu5.2","9.55.0~dfsg1-0ubuntu5.3","9.55.0~dfsg1-0ubuntu5.4","9.55.0~dfsg1-0ubuntu5.5","9.55.0~dfsg1-0ubuntu5.6","9.55.0~dfsg1-0ubuntu5.7","9.55.0~dfsg1-0ubuntu5.9","9.55.0~dfsg1-0ubuntu5.10","9.55.0~dfsg1-0ubuntu5.11","9.55.0~dfsg1-0ubuntu5.12","9.55.0~dfsg1-0ubuntu5.13"],"ecosystem_specific":{"binaries":[{"binary_version":"9.55.0~dfsg1-0ubuntu5.14","binary_name":"ghostscript"},{"binary_name":"ghostscript-x","binary_version":"9.55.0~dfsg1-0ubuntu5.14"},{"binary_name":"libgs9","binary_version":"9.55.0~dfsg1-0ubuntu5.14"},{"binary_name":"libgs9-common","binary_version":"9.55.0~dfsg1-0ubuntu5.14"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8791-1.json","cves_map":{"cves":[{"id":"CVE-2026-39919","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","type":"CVSS_V4"},{"type":"Ubuntu","score":"medium"}]}],"ecosystem":"Ubuntu:22.04:LTS"}}},{"package":{"name":"ghostscript","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/ghostscript?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.02.1~dfsg1-0ubuntu7.9"}]}],"versions":["10.01.2~dfsg1-0ubuntu2","10.01.2~dfsg1-0ubuntu2.1","10.02.1~dfsg1-0ubuntu1","10.02.1~dfsg1-0ubuntu2","10.02.1~dfsg1-0ubuntu5","10.02.1~dfsg1-0ubuntu6","10.02.1~dfsg1-0ubuntu7","10.02.1~dfsg1-0ubuntu7.1","10.02.1~dfsg1-0ubuntu7.3","10.02.1~dfsg1-0ubuntu7.4","10.02.1~dfsg1-0ubuntu7.5","10.02.1~dfsg1-0ubuntu7.6","10.02.1~dfsg1-0ubuntu7.7","10.02.1~dfsg1-0ubuntu7.8"],"ecosystem_specific":{"binaries":[{"binary_name":"ghostscript","binary_version":"10.02.1~dfsg1-0ubuntu7.9"},{"binary_name":"libgs-common","binary_version":"10.02.1~dfsg1-0ubuntu7.9"},{"binary_name":"libgs10","binary_version":"10.02.1~dfsg1-0ubuntu7.9"},{"binary_name":"libgs10-common","binary_version":"10.02.1~dfsg1-0ubuntu7.9"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:24.04:LTS","cves":[{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","type":"CVSS_V4"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2026-39919"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8791-1.json"}},{"package":{"name":"ghostscript","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/ghostscript?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.06.0~dfsg-3ubuntu1.1"}]}],"versions":["10.05.0dfsg1-0ubuntu4","10.05.0dfsg1-0ubuntu5","10.06.0~dfsg-3ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"ghostscript","binary_version":"10.06.0~dfsg-3ubuntu1.1"},{"binary_version":"10.06.0~dfsg-3ubuntu1.1","binary_name":"libgs-common"},{"binary_version":"10.06.0~dfsg-3ubuntu1.1","binary_name":"libgs10"},{"binary_version":"10.06.0~dfsg-3ubuntu1.1","binary_name":"libgs10-common"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2026-39919","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}],"ecosystem":"Ubuntu:26.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8791-1.json"}}],"schema_version":"1.9.0"}