{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-48708 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2025-48708 is a medium-severity vulnerability in Artifex Ghostscript, published on 23 May 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-48708 and fix it if it is affected.\n\nWhat it is: CVE-2025-48708 is a medium-severity vulnerability in Artifex Ghostscript, published on 23 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-48708 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-2025-48708/ (Markdown: https://insights.sbomify.com/CVE-2025-48708/index.md)","id":"CVE-2025-48708","markdown":"https://insights.sbomify.com/CVE-2025-48708/index.md","name":"CVE-2025-48708","record":{"aliases":["CLSA-2026-1778897873","DEBIAN-CVE-2025-48708","GHSA-7q9j-33vm-8375","MGASA-2025-0170","MINI-9gvx-v692-rpjx","OESA-2025-1580","ROOT-OS-DEBIAN-12-CVE-2025-48708","SUSE-SU-2025:03460-1","SUSE-SU-2025:03461-1","UBUNTU-CVE-2025-48708"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Ghostscript library","requires_auth":"none","summary":"Ghostscript fails to sanitize arguments, causing PDF passwords to be stored in cleartext, allowing attackers to read sensitive credentials.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ghostscript","vendor":"artifex"}],"cvss":{"score":4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-212","name":"Improper Removal of Sensitive Information Before Storage or Transfer"}],"description":"gs_lib_ctx_stash_sanitized_arg in base/gslibctx.c in Artifex Ghostscript before 10.05.1 lacks argument sanitization for the # case. A created PDF document includes its password in cleartext.","ecosystems":["SUSE:Linux Enterprise Module for Basesystem 15 SP6","SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","openSUSE:Leap 15.6"],"exploits":{"exploitdb":0,"first_seen":"2025-05-25","github_poc":1,"max_poc_stars":5,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-05-25T12:52:55Z","kind":"github_poc","ref":"https://github.com/B1tBreaker/CVE-2025-48708","stars":5,"title":"Lack of argument sanitization leading to password leakage in Ghostscript PDF versions up to 10.05.0."}],"tier":"poc_unverified"},"has_fix":true,"headline":"Information disclosure in Ghostscript","id":"CVE-2025-48708","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"artifex:ghostscript","products":["artifex:ghostscript"],"type":"information_disclosure","year":"2025"},"n_packages":4,"n_references":2,"next":{"headline":"BMC Control-M/Server cleartext database credentials in process lists and logs","id":"CVE-2025-48709"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP6","fixed":["9.52-150000.206.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript","purl":"pkg:rpm/suse/ghostscript\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6","source":"SUSE-SU-2025:03461-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","fixed":["9.52-150000.206.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript","purl":"pkg:rpm/suse/ghostscript\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7","source":"SUSE-SU-2025:03461-1"},{"ecosystem":"SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","fixed":["9.52-23.92.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript","purl":"pkg:rpm/suse/ghostscript\u0026distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5","source":"SUSE-SU-2025:03460-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["9.52-150000.206.1"],"introduced":["0"],"last_affected":[],"package":"ghostscript","purl":"pkg:rpm/opensuse/ghostscript\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:03461-1"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2025-48707"},"products":["Ghostscript"],"published":"2025-05-23","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":"SUSE","prefix":"SUSE"},{"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-05-24","vendors":["Artifex"]},"summary":"Ghostscript fails to sanitize arguments, causing PDF passwords to be stored in cleartext, allowing attackers to read sensitive credentials.","url":"https://insights.sbomify.com/CVE-2025-48708/"}