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.

medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
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