{"id":"CVE-2025-59800","state":"PUBLISHED","title":"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.","description":"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.","publishedAt":"2025-09-22T00:00:00.000Z","updatedAt":"2025-09-23T13:52:36.379Z","severity":{"score":4.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N","source":"mitre"},"assigner":"mitre","products":["Artifex Ghostscript"],"affected":[{"vendor":"Artifex","product":"Ghostscript","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"10.05.1","versionType":"custom"}]}],"references":["https://bugs.ghostscript.com/show_bug.cgi?id=708602","https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=176cf0188a2294bc307b8caec876f39412e58350"],"weaknesses":["CWE-190"],"ingestedAt":"2026-10-29T20:09:39.787Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/59xxx/CVE-2025-59800.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-59800","state":"PUBLISHED","datePublished":"2025-09-22T00:00:00.000Z","dateUpdated":"2025-09-23T13:52:36.379Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2025-09-22T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"Artifex","product":"Ghostscript","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"10.05.1","versionType":"custom"}]}],"references":[{"url":"https://bugs.ghostscript.com/show_bug.cgi?id=708602"},{"url":"https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=176cf0188a2294bc307b8caec876f39412e58350"}],"metrics":[{"cvssV3_1":{"version":"3.1","baseScore":4.3,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-190","description":"CWE-190 Integer Overflow or Wraparound","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2025-09-22T03:13:45.893Z"},"x_generator":{"engine":"enrichogram 0.0.1"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:artifex:ghostscript:*:*:*:*:*:*:*:*","versionEndIncluding":"10.05.1"}]}]}]},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://bugs.ghostscript.com/show_bug.cgi?id=708602","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-09-23T13:52:31.404135Z","id":"CVE-2025-59800","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-09-23T13:52:36.379Z"}}]}}}