{"schemaVersion":3,"id":"CVE-2025-46646","aliases":["ALPINE-CVE-2025-46646","UBUNTU-CVE-2025-46646","USN-7473-1","DEBIAN-CVE-2025-46646"],"status":"published","duplicateOf":null,"title":null,"description":"In Artifex Ghostscript before 10.05.0, decode_utf8 in base/gp_utf8.c mishandles overlong UTF-8 encoding. NOTE: this issue exists because of an incomplete fix for CVE-2024-46954.","dates":{"published":"2025-04-26T00:00:00.000Z","modified":"2025-04-29T15:23:02.330Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":4.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","exploitability":3.6,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":4.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","exploitability":3.6,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":4.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","exploitability":3.6,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00184,"percentile":0.07538,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.006000000000000016,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00178},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00184,"percentile":0.07538}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00178,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00186,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00184,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00184,"percentile":0.07538}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-24","name":"Path Traversal: '../filedir'","description":"The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize \"../\" sequences that can resolve to a location that is outside of that directory.","type":"weakness","status":"Incomplete","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/24.html"}],"affected":[{"vendor":"alpine","product":"ghostscript","name":"ghostscript","label":"ghostscript","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/ghostscript","purlType":"apk","versions":[{"text":"< 10.05.1","noFixRecorded":false,"fixedIn":null},{"text":"< 10.05.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.05.1 | < 10.05.1-r0","eol":null,"hubHref":null},{"vendor":"artifex","product":"ghostscript","name":"Ghostscript","label":"ghostscript","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 10.05.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.05.0","eol":null,"hubHref":"/vendor/artifex/ghostscript"},{"vendor":"debian","product":"ghostscript","name":"ghostscript","label":"ghostscript","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/ghostscript","purlType":"deb","versions":[{"text":"< 10.05.0~dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.05.0~dfsg-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ghostscript","name":"ghostscript","label":"ghostscript","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ghostscript","purlType":"deb","versions":[{"text":"< 10.02.1~dfsg1-0ubuntu7.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.02.1~dfsg1-0ubuntu7.6","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://bugs.ghostscript.com/show_bug.cgi?id=708311","label":"bugs.ghostscript.com/show_bug.cgi?id=708311","hostname":"bugs.ghostscript.com","tags":["Issue Tracking"]},{"url":"https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=f14ea81e6c3d2f51593f23cdf13c4679a18f1a3f","label":"cgit.ghostscript.com/cgi-bin/…","hostname":"cgit.ghostscript.com","tags":["Patch"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2025-46646","label":"security.alpinelinux.org/vuln/CVE-2025-46646","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-46646","label":"ubuntu.com/security/CVE-2025-46646","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-46646","label":"www.cve.org/CVERecord?id=CVE-2025-46646","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7473-1","label":"ubuntu.com/security/notices/USN-7473-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-46646","label":"security-tracker.debian.org/tracker/CVE-2025-46646","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2025:15413-1","OPENSUSE-SU-2026:20592-1"],"duplicates":[],"related":["OPENSUSE-SU-2025:15413-1","OPENSUSE-SU-2026:20592-1"]},"timeline":[{"kind":"published","date":"2025-04-26T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-29T15:23:02.330Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":18,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T06:11:20.331Z","stale":false,"partial":false}}