{"schemaVersion":3,"id":"CVE-2025-59801","aliases":["ALPINE-CVE-2025-59801","UBUNTU-CVE-2025-59801","DEBIAN-CVE-2025-59801"],"status":"published","duplicateOf":null,"title":null,"description":"In Artifex GhostXPS before 10.06.0, there is a stack-based buffer overflow in xps_unpredict_tiff in xpstiff.c because the samplesperpixel value is not checked.","dates":{"published":"2025-09-22T00:00:00.000Z","modified":"2025-09-23T13:53:45.701Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N","exploitability":6.4,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N","exploitability":6.4,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N","exploitability":6.4,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.002,"percentile":0.09292,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":-0.0020000000000000052,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00202},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00202,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00202,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00202,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00202,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00202,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00202,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00202,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00202,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00202,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00202,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.002,"percentile":0.09292}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00202,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00202,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00202,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00202,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.002,"percentile":0.09292}]},"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-121","name":"Stack-based Buffer Overflow","description":"A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/121.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.06.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.06.0-r0","eol":null,"hubHref":null},{"vendor":"artifex","product":"ghostxps","name":"GhostXPS","label":"ghostxps","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 10.06.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.06.0","eol":null,"hubHref":"/vendor/artifex/ghostxps"},{"vendor":"debian","product":"ghostscript","name":"ghostscript","label":"ghostscript","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/ghostscript","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 10.06.0~dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 10.06.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":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://bugs.ghostscript.com/show_bug.cgi?id=708819","label":"bugs.ghostscript.com/show_bug.cgi?id=708819","hostname":"bugs.ghostscript.com","tags":["REPORT"]},{"url":"https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=99727069197d548a8db69ba5d63f766bff40eaab","label":"cgit.ghostscript.com/cgi-bin/…","hostname":"cgit.ghostscript.com","tags":["REPORT"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2025-59801","label":"security.alpinelinux.org/vuln/CVE-2025-59801","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-59801","label":"ubuntu.com/security/CVE-2025-59801","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-59801","label":"www.cve.org/CVERecord?id=CVE-2025-59801","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=d12002b16c59e12d97f42fb2c70caded8b1b6aa8","label":"cgit.ghostscript.com/cgi-bin/…","hostname":"cgit.ghostscript.com","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-59801","label":"security-tracker.debian.org/tracker/CVE-2025-59801","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2025:15707-1","OPENSUSE-SU-2026:20592-1"],"duplicates":[],"related":["OPENSUSE-SU-2025:15707-1","OPENSUSE-SU-2026:20592-1"]},"timeline":[{"kind":"published","date":"2025-09-22T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-09-23T13:53:45.701Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":17,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T19:36:17.080Z","stale":false,"partial":false}}