{"answers":{"affected":"It affects 9 products.","exploited":"There is no known exploitation of CVE-2019-10216 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2019-10216 is a high-severity vulnerability in Artifex Ghostscript, published on 27 Nov 2019."},"fix_prompt":"Check this codebase for CVE-2019-10216 and fix it if it is affected.\n\nWhat it is: CVE-2019-10216 is a high-severity vulnerability in Artifex Ghostscript, published on 27 Nov 2019. \nExploitation: There is no known exploitation of CVE-2019-10216 in the wild and no public exploit code.\n\nAffected product: Artifex 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-2019-10216/ (Markdown: https://insights.sbomify.com/CVE-2019-10216/index.md)","id":"CVE-2019-10216","markdown":"https://insights.sbomify.com/CVE-2019-10216/index.md","name":"CVE-2019-10216","record":{"aliases":["ALPINE-CVE-2019-10216","DEBIAN-CVE-2019-10216","DLA-1880-1","DSA-4499-1","GHSA-9xw2-pr37-vhp5","MGASA-2019-0236","RHSA-2019:2462","RHSA-2019:2465","SUSE-SU-2019:2347-1","SUSE-SU-2019:2348-1","UBUNTU-CVE-2019-10216","USN-4092-1","openSUSE-SU-2019:2139-1","openSUSE-SU-2019:2160-1"],"analysis":null,"analysis_generated_by":null,"assigner":"redhat","cpe":[{"product":"ghostscript","vendor":"artifex"},{"product":"3scale_api_management","vendor":"redhat"},{"product":"enterprise_linux","vendor":"redhat"},{"product":"enterprise_linux_desktop","vendor":"redhat"},{"product":"enterprise_linux_server","vendor":"redhat"},{"product":"enterprise_linux_server_aus","vendor":"redhat"},{"product":"enterprise_linux_server_eus","vendor":"redhat"},{"product":"enterprise_linux_server_tus","vendor":"redhat"},{"product":"enterprise_linux_workstation","vendor":"redhat"}],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.0"},"cwes":[{"id":"CWE-648","name":"Incorrect Use of Privileged APIs"}],"description":"In ghostscript before version 9.50, the .buildfont1 procedure did not properly secure its privileged calls, enabling scripts to bypass `-dSAFER` restrictions. An attacker could abuse this flaw by creating a specially crafted PostScript file that could escalate privileges and access files outside of restricted areas.","ecosystems":["Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::crb","SUSE:Linux Enterprise Desktop 12 SP4","SUSE:Linux Enterprise Module for Basesystem 15","SUSE:Linux Enterprise Module for Basesystem 15 SP1","SUSE:Linux Enterprise Server 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Software Development Kit 12 SP4","openSUSE:Leap 15.0","openSUSE:Leap 15.1"],"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":"In ghostscript before version 9.50, the .buildfont1 procedure did not properly secure its privileged calls, enabling scripts to bypass `-dSAFER` restrictions.","id":"CVE-2019-10216","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"artifex:ghostscript","products":["artifex:ghostscript","redhat:enterprise_linux","redhat:enterprise_linux_desktop","redhat:enterprise_linux_server","redhat:enterprise_linux_server_aus","redhat:enterprise_linux_server_eus","redhat:enterprise_linux_server_tus","redhat:enterprise_linux_workstation"],"type":null,"year":"2019"},"n_packages":56,"n_references":3,"next":{"headline":"Exposure of Sensitive Information to an Unauthorized Actor in ansible","id":"CVE-2019-10217"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:9.25-2.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript","purl":"pkg:rpm/redhat/ghostscript","source":"RHSA-2019:2462"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:9.25-2.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript-cups","purl":"pkg:rpm/redhat/ghostscript-cups","source":"RHSA-2019:2462"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:9.25-2.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript-debuginfo","purl":"pkg:rpm/redhat/ghostscript-debuginfo","source":"RHSA-2019:2462"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:9.25-2.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript-doc","purl":"pkg:rpm/redhat/ghostscript-doc","source":"RHSA-2019:2462"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:9.25-2.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript-gtk","purl":"pkg:rpm/redhat/ghostscript-gtk","source":"RHSA-2019:2462"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:9.25-2.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"libgs","purl":"pkg:rpm/redhat/libgs","source":"RHSA-2019:2462"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:9.25-2.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"libgs-devel","purl":"pkg:rpm/redhat/libgs-devel","source":"RHSA-2019:2462"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:9.25-2.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript","purl":"pkg:rpm/redhat/ghostscript","source":"RHSA-2019:2462"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:9.25-2.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript-cups","purl":"pkg:rpm/redhat/ghostscript-cups","source":"RHSA-2019:2462"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:9.25-2.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript-debuginfo","purl":"pkg:rpm/redhat/ghostscript-debuginfo","source":"RHSA-2019:2462"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:9.25-2.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript-doc","purl":"pkg:rpm/redhat/ghostscript-doc","source":"RHSA-2019:2462"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:9.25-2.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript-gtk","purl":"pkg:rpm/redhat/ghostscript-gtk","source":"RHSA-2019:2462"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:9.25-2.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"libgs","purl":"pkg:rpm/redhat/libgs","source":"RHSA-2019:2462"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:9.25-2.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"libgs-devel","purl":"pkg:rpm/redhat/libgs-devel","source":"RHSA-2019:2462"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:9.25-2.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript","purl":"pkg:rpm/redhat/ghostscript","source":"RHSA-2019:2462"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:9.25-2.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript-cups","purl":"pkg:rpm/redhat/ghostscript-cups","source":"RHSA-2019:2462"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:9.25-2.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript-debuginfo","purl":"pkg:rpm/redhat/ghostscript-debuginfo","source":"RHSA-2019:2462"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:9.25-2.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript-doc","purl":"pkg:rpm/redhat/ghostscript-doc","source":"RHSA-2019:2462"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:9.25-2.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript-gtk","purl":"pkg:rpm/redhat/ghostscript-gtk","source":"RHSA-2019:2462"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:9.25-2.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"libgs","purl":"pkg:rpm/redhat/libgs","source":"RHSA-2019:2462"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:9.25-2.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"libgs-devel","purl":"pkg:rpm/redhat/libgs-devel","source":"RHSA-2019:2462"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:9.25-2.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript","purl":"pkg:rpm/redhat/ghostscript","source":"RHSA-2019:2462"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:9.25-2.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript-cups","purl":"pkg:rpm/redhat/ghostscript-cups","source":"RHSA-2019:2462"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:9.25-2.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript-debuginfo","purl":"pkg:rpm/redhat/ghostscript-debuginfo","source":"RHSA-2019:2462"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:9.25-2.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript-doc","purl":"pkg:rpm/redhat/ghostscript-doc","source":"RHSA-2019:2462"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:9.25-2.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript-gtk","purl":"pkg:rpm/redhat/ghostscript-gtk","source":"RHSA-2019:2462"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:9.25-2.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"libgs","purl":"pkg:rpm/redhat/libgs","source":"RHSA-2019:2462"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:9.25-2.el7_7.1"],"introduced":["0"],"last_affected":[],"package":"libgs-devel","purl":"pkg:rpm/redhat/libgs-devel","source":"RHSA-2019:2462"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:9.25-2.el8_0.2"],"introduced":["0"],"last_affected":[],"package":"ghostscript","purl":"pkg:rpm/redhat/ghostscript","source":"RHSA-2019:2465"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:9.25-2.el8_0.2"],"introduced":["0"],"last_affected":[],"package":"ghostscript-debuginfo","purl":"pkg:rpm/redhat/ghostscript-debuginfo","source":"RHSA-2019:2465"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:9.25-2.el8_0.2"],"introduced":["0"],"last_affected":[],"package":"ghostscript-debugsource","purl":"pkg:rpm/redhat/ghostscript-debugsource","source":"RHSA-2019:2465"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:9.25-2.el8_0.2"],"introduced":["0"],"last_affected":[],"package":"ghostscript-gtk-debuginfo","purl":"pkg:rpm/redhat/ghostscript-gtk-debuginfo","source":"RHSA-2019:2465"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:9.25-2.el8_0.2"],"introduced":["0"],"last_affected":[],"package":"ghostscript-x11-debuginfo","purl":"pkg:rpm/redhat/ghostscript-x11-debuginfo","source":"RHSA-2019:2465"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:9.25-2.el8_0.2"],"introduced":["0"],"last_affected":[],"package":"libgs","purl":"pkg:rpm/redhat/libgs","source":"RHSA-2019:2465"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:9.25-2.el8_0.2"],"introduced":["0"],"last_affected":[],"package":"libgs-debuginfo","purl":"pkg:rpm/redhat/libgs-debuginfo","source":"RHSA-2019:2465"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:9.25-2.el8_0.2"],"introduced":["0"],"last_affected":[],"package":"ghostscript-debuginfo","purl":"pkg:rpm/redhat/ghostscript-debuginfo","source":"RHSA-2019:2465"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:9.25-2.el8_0.2"],"introduced":["0"],"last_affected":[],"package":"ghostscript-debugsource","purl":"pkg:rpm/redhat/ghostscript-debugsource","source":"RHSA-2019:2465"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:9.25-2.el8_0.2"],"introduced":["0"],"last_affected":[],"package":"ghostscript-doc","purl":"pkg:rpm/redhat/ghostscript-doc","source":"RHSA-2019:2465"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:9.25-2.el8_0.2"],"introduced":["0"],"last_affected":[],"package":"ghostscript-gtk-debuginfo","purl":"pkg:rpm/redhat/ghostscript-gtk-debuginfo","source":"RHSA-2019:2465"},{"ecosystem":"Red Hat:enterprise_linux:8::crb","fixed":["0:9.25-2.el8_0.2"],"introduced":["0"],"last_affected":[],"package":"ghostscript-tools-dvipdf","purl":"pkg:rpm/redhat/ghostscript-tools-dvipdf","source":"RHSA-2019:2465"}],"prev":{"headline":"Cross-site scripting in bootstrap3-typeahead.js","id":"CVE-2019-10215"},"products":["ghostscript"],"published":"2019-11-27","related":[{"cvss_score":7.8,"headline":"Artifex Ghostscript Type Confusion","id":"CVE-2017-8291","kev_date_added":"2022-05-24","published":"2017-04-27"},{"cvss_score":9.9,"headline":"Command injection in ghostscript","id":"CVE-2021-3781","kev_date_added":null,"published":"2022-02-16"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2025-27831","kev_date_added":null,"published":"2025-03-25"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2025-27832","kev_date_added":null,"published":"2025-03-25"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2025-27836","kev_date_added":null,"published":"2025-03-25"},{"cvss_score":9.8,"headline":"An issue was discovered in Artifex Ghostscript before 10.05.0.","id":"CVE-2025-27837","kev_date_added":null,"published":"2025-03-25"},{"cvss_score":9.8,"headline":"Use after free in n/a","id":"CVE-2020-36773","kev_date_added":null,"published":"2024-02-04"}],"sources":[{"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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["ghostscript"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2019-10216/"}