CVE-2025-59800: Artifex Ghostscript - Integer Overflow
- Cve: CVE-2025-59800
- Name: Artifex Ghostscript - Integer Overflow
- Description: 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.
- Impact: Attackers can cause heap-based buffer overflow leading to potential remote code execution or denial of service.
- Remediation: Update to the latest version beyond 10.05.1.
- Vulnerability type: integer_overflow
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.5
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00182
- Epss percentile: 0.07677
- Assignee: [email protected]
- Published at: 2025-09-22T04:15:50Z
- Age in days: 428
- Modified at: 2026-06-17T09:46:44Z
- Patch available: yes
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-59800
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-190 | Integer Overflow or Wraparound |
References
| Url | Source | Tags |
|---|---|---|
| https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=176cf0188a2294bc307b8caec876f39412e58350 | nvd | Patch |
| https://bugs.ghostscript.com/show_bug.cgi?id=708602 | nvd | Issue Tracking |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| artifex:ghostscript | <= 10.05.1 | no | nvd | /v1/products/artifex/ghostscript |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts