Integer overflow in Artifex Ghostscript
CVE-2025-59800
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N.
EPSS exploit prediction
EPSS 0.002, 7.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Artifex Ghostscript — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugs.ghostscript.com/show_bug.cgi (Issue Tracking)
- cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/ (Patch)