CVE-2025-59800

NameCVE-2025-59800
DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ghostscript (PTS)bullseye9.53.3~dfsg-7+deb11u7vulnerable
bullseye (security)9.53.3~dfsg-7+deb11u11vulnerable
bookworm10.0.0~dfsg-11+deb12u7vulnerable
bookworm (security)10.0.0~dfsg-11+deb12u8vulnerable
trixie10.05.1~dfsg-1vulnerable
trixie (security)10.05.1~dfsg-1+deb13u1vulnerable
forky10.05.1~dfsg-3vulnerable
sid10.06.0~dfsg-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ghostscriptsource(unstable)10.06.0~dfsg-1unimportant

Notes

https://bugs.ghostscript.com/show_bug.cgi?id=708602
https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=176cf0188a2294bc307b8caec876f39412e58350 (ghostpdl-10.06.0rc1)
Ghostscript in Debian not compiled with Tesseract support

Search for package or bug name: Reporting problems