{"schemaVersion":3,"id":"CVE-2025-59799","aliases":["ALPINE-CVE-2025-59799","UBUNTU-CVE-2025-59799","DEBIAN-CVE-2025-59799","CGA-2vw7-7wrr-j6c7","CGA-49c8-6wmj-jfwh","CGA-4xvw-w4r2-546m","CGA-52vm-9r75-ff7f","CGA-749m-7v4m-gg56","CGA-9jfw-qg9p-3h76","CGA-m5pq-h7jp-rc52","CGA-w526-xxvv-49g8"],"status":"published","duplicateOf":null,"title":null,"description":"Artifex Ghostscript through 10.05.1 has a stack-based buffer overflow in pdfmark_coerce_dest in devices/vector/gdevpdfm.c via a large size value.","dates":{"published":"2025-09-22T00:00:00.000Z","modified":"2025-11-03T17:45:21.821Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","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":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00204,"percentile":0.09797,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.003000000000000008,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00201},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00201,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00201,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00201,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00201,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00201,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00201,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00201,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00201,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00201,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00201,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00204,"percentile":0.09797}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00201,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00201,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00201,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00201,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00199,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00204,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00204,"percentile":0.09797}]},"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":"chainguard","product":"ghostscript","name":"ghostscript","label":"ghostscript","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/ghostscript","purlType":"apk","versions":[{"text":"< 10.07.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.07.0-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"ghostscript-dbg","name":"ghostscript-dbg","label":"ghostscript-dbg","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/ghostscript-dbg","purlType":"apk","versions":[{"text":"< 10.07.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.07.0-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"ghostscript-dev","name":"ghostscript-dev","label":"ghostscript-dev","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/ghostscript-dev","purlType":"apk","versions":[{"text":"< 10.07.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.07.0-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"ghostscript-doc","name":"ghostscript-doc","label":"ghostscript-doc","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/ghostscript-doc","purlType":"apk","versions":[{"text":"< 10.07.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.07.0-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"ghostscript","name":"ghostscript","label":"ghostscript","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/ghostscript","purlType":"apk","versions":[{"text":"< 10.07.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.07.0-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"ghostscript-dbg","name":"ghostscript-dbg","label":"ghostscript-dbg","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/ghostscript-dbg","purlType":"apk","versions":[{"text":"< 10.07.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.07.0-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"ghostscript-dev","name":"ghostscript-dev","label":"ghostscript-dev","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/ghostscript-dev","purlType":"apk","versions":[{"text":"< 10.07.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.07.0-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"ghostscript-doc","name":"ghostscript-doc","label":"ghostscript-doc","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/ghostscript-doc","purlType":"apk","versions":[{"text":"< 10.07.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.07.0-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.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 10.05.1","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.0.0~dfsg-11+deb12u8","noFixRecorded":false,"fixedIn":null},{"text":"< 10.05.1~dfsg-1+deb13u1","noFixRecorded":false,"fixedIn":null},{"text":"< 10.06.0~dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.0.0~dfsg-11+deb12u8 | < 10.05.1~dfsg-1+deb13u1 | < 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":"< 9.26~dfsg+0-0ubuntu0.16.04.14+esm10","noFixRecorded":false,"fixedIn":null},{"text":"< 9.26~dfsg+0-0ubuntu0.18.04.18+esm5","noFixRecorded":false,"fixedIn":null},{"text":"< 9.50~dfsg-5ubuntu4.15+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 9.55.0~dfsg1-0ubuntu5.13","noFixRecorded":false,"fixedIn":null},{"text":"< 10.02.1~dfsg1-0ubuntu7.8","noFixRecorded":false,"fixedIn":null},{"text":"< 10.05.0dfsg1-0ubuntu4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 9.26~dfsg+0-0ubuntu0.16.04.14+esm10 | < 9.26~dfsg+0-0ubuntu0.18.04.18+esm5 | < 9.50~dfsg-5ubuntu4.15+esm2 | < 9.55.0~dfsg1-0ubuntu5.13 | < 10.02.1~dfsg1-0ubuntu7.8 | < 10.05.0dfsg1-0ubuntu4","eol":null,"hubHref":null}],"affectedCount":12,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://bugs.ghostscript.com/show_bug.cgi?id=708517","label":"bugs.ghostscript.com/show_bug.cgi?id=708517","hostname":"bugs.ghostscript.com","tags":["REPORT","Issue Tracking"]},{"url":"https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=6dab38fb211f15226c242ab7a83fa53e4b0ff781","label":"cgit.ghostscript.com/cgi-bin/…","hostname":"cgit.ghostscript.com","tags":["FIX","Patch"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00010.html","label":"lists.debian.org/debian-lts-announce/2025/10/msg00010.html","hostname":"lists.debian.org","tags":["WEB"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2025-59799","label":"security.alpinelinux.org/vuln/CVE-2025-59799","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-59799","label":"ubuntu.com/security/CVE-2025-59799","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-59799","label":"www.cve.org/CVERecord?id=CVE-2025-59799","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7782-1","label":"ubuntu.com/security/notices/USN-7782-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-7904-1","label":"ubuntu.com/security/notices/USN-7904-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-59799","label":"security-tracker.debian.org/tracker/CVE-2025-59799","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-4330-1","DSA-6024-1","OPENSUSE-SU-2025:15707-1","OPENSUSE-SU-2026:20592-1","SUSE-SU-2025:4125-1","SUSE-SU-2025:4148-1","USN-7782-1","USN-7904-1"],"duplicates":[],"related":["CGA-V44M-M6CV-PQ23","OPENSUSE-SU-2025:15707-1","OPENSUSE-SU-2026:20592-1","SUSE-SU-2025:4125-1","SUSE-SU-2025:4148-1","USN-7782-1","USN-7904-1"]},"timeline":[{"kind":"published","date":"2025-09-22T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-03T17:45:21.821Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T17:23:17.403Z","stale":false,"partial":false}}