---
title: "CVE-2025-59800\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2025-59800?format=md
keywords: index, follow
---

# CVE-2025-59800

Publication date 22 September 2025

Last updated 29 September 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**4.3 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2025-59800?format=md#impact-score)

Toggle side navigation

## 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| ghostscript | 25.10 questing | Fixed 10.05.0dfsg1-0ubuntu4 |
| 25.04 plucky | Fixed 10.05.0dfsg1-0ubuntu1.2 |
| 24.04 LTS noble | Fixed 10.02.1~dfsg1-0ubuntu7.8 |
| 22.04 LTS jammy | Fixed 9.55.0~dfsg1-0ubuntu5.13 |
| 20.04 LTS focal | Not affected |
| 18.04 LTS bionic | Not affected |
| 16.04 LTS xenial | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2025-59800?format=md#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| ghostscript | * Upstream:   [?id=176](https://cgit.ghostscript.com/cgi-bin/cgit.cgi/ghostpdl.git/commit/?id=176cf0188a2294bc307b8caec876f39412e58350) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

4.3 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Local |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Changed |
  | Confidentiality impact | None |
  | Integrity impact | Low |
  | Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 4.3 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-59800)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-59800)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2025-59800)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2025-59800)

### Related Ubuntu Security Notices (USN)

+ [USN-7782-1](https://usn.ubuntu.com/USN-7782-1)
+ Ghostscript vulnerabilities
+ 29 September 2025

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2025-59800>
