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.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"artifex:ghostscript": [
"<= 10.05.1"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-59800",
"id": "CVE-2025-59800",
"imported": "2026-11-21T07:19:18.299Z",
"modified": "2026-06-17T09:46:44.310Z",
"published": "2025-09-22T04:15:50.843Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2025-59800"
},
{
"html_url": "https://github.com/advisories/GHSA-2mxc-fm8x-qgcp",
"id": "GHSA-2mxc-fm8x-qgcp",
"imported": "2026-11-21T07:19:32.890Z",
"modified": "2025-09-22T21:30:29Z",
"published": "2025-09-22T21:30:20Z",
"url": "https://api.github.com/advisories/GHSA-2mxc-fm8x-qgcp"
},
{
"affected": {
"Artifex:ghostscript": [
"0 ≤10.05.1"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-30396",
"id": "EUVD-2025-30396",
"imported": "2026-11-21T07:19:20.048Z",
"modified": "2025-09-23T13:52:36Z",
"published": "2025-09-22T00:00:00Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2025-30396"
}
]
}