cbcvebase.
CVE-2025-59800
published 2025-09-22

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.

PriorityP424medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.17%
6.2th percentile
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.

Affected

5 ranges
VendorProductVersion rangeFixed in
artifexghostscript<= 10.05.1
artifexghostscript>= 0 < 10.06.0~dfsg-110.06.0~dfsg-1
artifexghostscript>= 0 < 9.55.0~dfsg1-0ubuntu5.139.55.0~dfsg1-0ubuntu5.13
artifexghostscript>= 0 < 10.02.1~dfsg1-0ubuntu7.810.02.1~dfsg1-0ubuntu7.8
debianghostscript< ghostscript 10.06.0~dfsg-1 (forky)ghostscript 10.06.0~dfsg-1 (forky)

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian4.3LOW
vendor_redhat4.3MEDIUM
vendor_ubuntu4.3MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.