# CVE-2025-59800

- Priority: **Routine**
- Reason: Not severe (CVSS 4.3, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-09-22 · Modified: 2025-09-23
- Aliases: ALPINE-CVE-2025-59800, UBUNTU-CVE-2025-59800, DEBIAN-CVE-2025-59800, CGA-2f38-42pm-9h6r, CGA-6cq5-3m68-wjqq, CGA-c8jh-p8p6-f4wg, CGA-j2x8-7f2c-q565, CGA-jmqp-9xxf-85c4, CGA-jx58-988q-c784, CGA-qc3g-g6cw-5563, CGA-r4jg-j3cf-mwvj
- Record: https://cvemate.com/vulnerability/CVE-2025-59800 · JSON: https://cvemate.com/vulnerability/CVE-2025-59800/json

## Description

```text
In Artifex Ghostscript through 10.05.1, ocr_begin_page in devices/gdevpdfocr.c has an integer overflow that leads to a heap-based buffer overflow in ocr_line8.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.182%, percentile 8.087%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine ghostscript (Alpine Linux): \< 10.08.0-r0 \| \< 10.06.0-r0
- chainguard ghostscript (Chainguard): \< 10.07.0-r0
- chainguard ghostscript-dbg (Chainguard): \< 10.07.0-r0
- chainguard ghostscript-dev (Chainguard): \< 10.07.0-r0
- chainguard ghostscript-doc (Chainguard): \< 10.07.0-r0
- wolfi ghostscript (Wolfi): \< 10.07.0-r0
- wolfi ghostscript-dbg (Wolfi): \< 10.07.0-r0
- wolfi ghostscript-dev (Wolfi): \< 10.07.0-r0
- wolfi ghostscript-doc (Wolfi): \< 10.07.0-r0
- artifex ghostscript: ≤ 10.05.1
- debian ghostscript (Debian): All versions (No fix recorded) \| \< 10.06.0~dfsg-1
- ubuntu ghostscript (Ubuntu): \< 9.55.0~dfsg1-0ubuntu5.13 \| \< 10.02.1~dfsg1-0ubuntu7.8 \| \< 10.05.0dfsg1-0ubuntu4

## References

- <https://bugs.ghostscript.com/show_bug.cgi?id=708602>
- <https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=176cf0188a2294bc307b8caec876f39412e58350>
- <https://security.alpinelinux.org/vuln/CVE-2025-59800>
- <https://ubuntu.com/security/CVE-2025-59800>
- <https://www.cve.org/CVERecord?id=CVE-2025-59800>
- <https://ubuntu.com/security/notices/USN-7782-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-59800>

---

Data as of 2026-12-05T02:55:05.211Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
