{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-39919 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-39919 is a critical memory corruption vulnerability in Artifex Software Ghostscript, published on 15 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-39919 and fix it if it is affected.\n\nWhat it is: CVE-2026-39919 is a critical memory corruption vulnerability in Artifex Software Ghostscript, published on 15 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-39919 in the wild and no public exploit code.\n\nAffected product: Artifex Software Ghostscript. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-39919/ (Markdown: https://insights.sbomify.com/CVE-2026-39919/index.md)","id":"CVE-2026-39919","markdown":"https://insights.sbomify.com/CVE-2026-39919/index.md","name":"CVE-2026-39919","record":{"aliases":["ALPINE-CVE-2026-39919","ALSA-2026:74457","ALSA-2026:74464","ALSA-2026:76877","BELL-CVE-2026-39919","CLSA-2026-1791226276","CLSA-2026-1792073622","CLSA-2026-1792074631","CLSA-2026-1792075420","CLSA-2026-1792576567","CLSA-2026-1792576797","CLSA-2026-1792577303","DEBIAN-CVE-2026-39919","ECHO-99aa-3b52-a804","GHSA-v865-hp77-22rm","MGASA-2026-0545","RHSA-2026:74457","RHSA-2026:74464","RHSA-2026:76877","RLSA-2026:74457","RLSA-2026:74464","RLSA-2026:76877","SUSE-SU-2026:24214-1","SUSE-SU-2026:4598-1","SUSE-SU-2026:4632-1","UBUNTU-CVE-2026-39919","USN-8791-1","openSUSE-SU-2026:11959-1","openSUSE-SU-2026:22063-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Ghostscript library","requires_auth":"none","summary":"Attackers can achieve code execution by supplying a crafted PDF with mismatched JPEG 2000 subsampling factors to vulnerable Ghostscript versions.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"description":"Ghostscript before 10.08.0 contains a heap-based buffer overflow vulnerability in the JPEG 2000 output adapter (base/sjpx_openjpeg.c) that allows attackers to cause memory corruption by supplying a crafted PDF containing a JPEG 2000 image with mismatched component subsampling factors. When image components declare different subsampling values, the non-samescale sub-byte-depth output path allocates a row buffer sized for packed output but writes a full byte per output column regardless of bit depth, overflowing the allocation and corrupting internal chunk-allocator metadata to achieve code execution.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:10.2","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:9::appstream","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Server 12 SP5-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP5-LTSS","SUSE:Linux Enterprise Server 15 SP6-LTSS","SUSE:Linux Enterprise Server 16.0","SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Server for SAP Applications 15 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP6","SUSE:Linux Enterprise Server for SAP applications 16.0","openSUSE:Leap 16.0","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Ghostscript \u003c 10.08.0 Heap Buffer Overflow via JPEG 2000 Output Adapter","id":"CVE-2026-39919","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":47,"n_references":4,"next":{"headline":"BridgeHead FileStore \u003c 24A Apache Axis2 Default Credentials RCE","id":"CVE-2026-39920"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["10.02.1-16.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript","purl":"pkg:rpm/almalinux/ghostscript","source":"ALSA-2026:74464"},{"ecosystem":"AlmaLinux:10","fixed":["10.02.1-16.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript-doc","purl":"pkg:rpm/almalinux/ghostscript-doc","source":"ALSA-2026:74464"},{"ecosystem":"AlmaLinux:10","fixed":["10.02.1-16.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript-tools-dvipdf","purl":"pkg:rpm/almalinux/ghostscript-tools-dvipdf","source":"ALSA-2026:74464"},{"ecosystem":"AlmaLinux:10","fixed":["10.02.1-16.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript-tools-fonts","purl":"pkg:rpm/almalinux/ghostscript-tools-fonts","source":"ALSA-2026:74464"},{"ecosystem":"AlmaLinux:10","fixed":["10.02.1-16.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript-tools-printing","purl":"pkg:rpm/almalinux/ghostscript-tools-printing","source":"ALSA-2026:74464"},{"ecosystem":"AlmaLinux:10","fixed":["10.02.1-16.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"libgs","purl":"pkg:rpm/almalinux/libgs","source":"ALSA-2026:74464"},{"ecosystem":"AlmaLinux:10","fixed":["10.02.1-16.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"libgs-devel","purl":"pkg:rpm/almalinux/libgs-devel","source":"ALSA-2026:74464"},{"ecosystem":"AlmaLinux:8","fixed":["9.27-18.el8_10"],"introduced":["0"],"last_affected":[],"package":"ghostscript","purl":"pkg:rpm/almalinux/ghostscript","source":"ALSA-2026:76877"},{"ecosystem":"AlmaLinux:8","fixed":["9.27-18.el8_10"],"introduced":["0"],"last_affected":[],"package":"ghostscript-doc","purl":"pkg:rpm/almalinux/ghostscript-doc","source":"ALSA-2026:76877"},{"ecosystem":"AlmaLinux:8","fixed":["9.27-18.el8_10"],"introduced":["0"],"last_affected":[],"package":"ghostscript-tools-dvipdf","purl":"pkg:rpm/almalinux/ghostscript-tools-dvipdf","source":"ALSA-2026:76877"},{"ecosystem":"AlmaLinux:8","fixed":["9.27-18.el8_10"],"introduced":["0"],"last_affected":[],"package":"ghostscript-tools-fonts","purl":"pkg:rpm/almalinux/ghostscript-tools-fonts","source":"ALSA-2026:76877"},{"ecosystem":"AlmaLinux:8","fixed":["9.27-18.el8_10"],"introduced":["0"],"last_affected":[],"package":"ghostscript-tools-printing","purl":"pkg:rpm/almalinux/ghostscript-tools-printing","source":"ALSA-2026:76877"},{"ecosystem":"AlmaLinux:8","fixed":["9.27-18.el8_10"],"introduced":["0"],"last_affected":[],"package":"ghostscript-x11","purl":"pkg:rpm/almalinux/ghostscript-x11","source":"ALSA-2026:76877"},{"ecosystem":"AlmaLinux:8","fixed":["9.27-18.el8_10"],"introduced":["0"],"last_affected":[],"package":"libgs","purl":"pkg:rpm/almalinux/libgs","source":"ALSA-2026:76877"},{"ecosystem":"AlmaLinux:8","fixed":["9.27-18.el8_10"],"introduced":["0"],"last_affected":[],"package":"libgs-devel","purl":"pkg:rpm/almalinux/libgs-devel","source":"ALSA-2026:76877"},{"ecosystem":"AlmaLinux:9","fixed":["9.54.0-19.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript","purl":"pkg:rpm/almalinux/ghostscript","source":"ALSA-2026:74457"},{"ecosystem":"AlmaLinux:9","fixed":["9.54.0-19.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript-doc","purl":"pkg:rpm/almalinux/ghostscript-doc","source":"ALSA-2026:74457"},{"ecosystem":"AlmaLinux:9","fixed":["9.54.0-19.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript-tools-dvipdf","purl":"pkg:rpm/almalinux/ghostscript-tools-dvipdf","source":"ALSA-2026:74457"},{"ecosystem":"AlmaLinux:9","fixed":["9.54.0-19.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript-tools-fonts","purl":"pkg:rpm/almalinux/ghostscript-tools-fonts","source":"ALSA-2026:74457"},{"ecosystem":"AlmaLinux:9","fixed":["9.54.0-19.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript-tools-printing","purl":"pkg:rpm/almalinux/ghostscript-tools-printing","source":"ALSA-2026:74457"},{"ecosystem":"AlmaLinux:9","fixed":["9.54.0-19.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript-x11","purl":"pkg:rpm/almalinux/ghostscript-x11","source":"ALSA-2026:74457"},{"ecosystem":"AlmaLinux:9","fixed":["9.54.0-19.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"libgs","purl":"pkg:rpm/almalinux/libgs","source":"ALSA-2026:74457"},{"ecosystem":"AlmaLinux:9","fixed":["9.54.0-19.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"libgs-devel","purl":"pkg:rpm/almalinux/libgs-devel","source":"ALSA-2026:74457"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:10.02.1-16.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"libgs","purl":"pkg:rpm/redhat/libgs","source":"RHSA-2026:74464"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:9.27-18.el8_10"],"introduced":["0"],"last_affected":[],"package":"ghostscript","purl":"pkg:rpm/redhat/ghostscript","source":"RHSA-2026:76877"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:9.27-18.el8_10"],"introduced":["0"],"last_affected":[],"package":"libgs","purl":"pkg:rpm/redhat/libgs","source":"RHSA-2026:76877"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:9.54.0-19.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"libgs","purl":"pkg:rpm/redhat/libgs","source":"RHSA-2026:74457"},{"ecosystem":"Rocky Linux:10","fixed":["0:10.02.1-16.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript","purl":"pkg:rpm/rocky-linux/ghostscript?distro=rocky-linux-10\u0026epoch=0","source":"RLSA-2026:74464"},{"ecosystem":"Rocky Linux:8","fixed":["0:9.27-18.el8_10"],"introduced":["0"],"last_affected":[],"package":"ghostscript","purl":"pkg:rpm/rocky-linux/ghostscript?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2026:76877"},{"ecosystem":"Rocky Linux:9","fixed":["0:9.54.0-19.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript","purl":"pkg:rpm/rocky-linux/ghostscript?distro=rocky-linux-9\u0026epoch=0","source":"RLSA-2026:74457"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["9.52-150000.214.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript","purl":"pkg:rpm/suse/ghostscript\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2026:4632-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["9.52-150000.214.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript","purl":"pkg:rpm/suse/ghostscript\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2026:4632-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","fixed":["9.52-150000.214.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript","purl":"pkg:rpm/suse/ghostscript\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOS","source":"SUSE-SU-2026:4632-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","fixed":["9.52-150000.214.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript","purl":"pkg:rpm/suse/ghostscript\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSS","source":"SUSE-SU-2026:4632-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","fixed":["9.52-150000.214.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript","purl":"pkg:rpm/suse/ghostscript\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7","source":"SUSE-SU-2026:4632-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5-LTSS","fixed":["9.52-23.100.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript","purl":"pkg:rpm/suse/ghostscript\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5-LTSS","source":"SUSE-SU-2026:4598-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["9.52-150000.214.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript","purl":"pkg:rpm/suse/ghostscript\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSS","source":"SUSE-SU-2026:4632-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP5-LTSS","fixed":["9.52-150000.214.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript","purl":"pkg:rpm/suse/ghostscript\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSS","source":"SUSE-SU-2026:4632-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP6-LTSS","fixed":["9.52-150000.214.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript","purl":"pkg:rpm/suse/ghostscript\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP6-LTSS","source":"SUSE-SU-2026:4632-1"},{"ecosystem":"SUSE:Linux Enterprise Server 16.0","fixed":["10.08.0-160000.1.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript","purl":"pkg:rpm/suse/ghostscript\u0026distro=SUSE%20Linux%20Enterprise%20Server%2016.0","source":"SUSE-SU-2026:24214-1"}],"prev":{"headline":"Vvveb \u003c 1.0.8.1 Code Injection via Installation Endpoint","id":"CVE-2026-39918"},"products":["Ghostscript"],"published":"2026-09-15","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-01","vendors":["Artifex Software"]},"summary":"Attackers can achieve code execution by supplying a crafted PDF with mismatched JPEG 2000 subsampling factors to vulnerable Ghostscript versions.","url":"https://insights.sbomify.com/CVE-2026-39919/"}