UBUNTU-CVE-2025-59800

Source
https://ubuntu.com/security/CVE-2025-59800
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-59800.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-59800
Upstream
Downstream
Related
Published
2025-09-22T04:15:00Z
Modified
2026-02-04T04:11:02.294067Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N CVSS Calculator
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

In Artifex Ghostscript through 10.05.1, ocrbeginpage in devices/gdevpdfocr.c has an integer overflow that leads to a heap-based buffer overflow in ocr_line8.

References

Affected packages

Ubuntu:22.04:LTS / ghostscript

Package

Name
ghostscript
Purl
pkg:deb/ubuntu/ghostscript@9.55.0~dfsg1-0ubuntu5.13?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
9.55.0~dfsg1-0ubuntu5.13

Affected versions

9.*
9.54.0~dfsg1-0ubuntu2
9.55.0~dfsg1-0ubuntu4
9.55.0~dfsg1-0ubuntu5
9.55.0~dfsg1-0ubuntu5.1
9.55.0~dfsg1-0ubuntu5.2
9.55.0~dfsg1-0ubuntu5.3
9.55.0~dfsg1-0ubuntu5.4
9.55.0~dfsg1-0ubuntu5.5
9.55.0~dfsg1-0ubuntu5.6
9.55.0~dfsg1-0ubuntu5.7
9.55.0~dfsg1-0ubuntu5.9
9.55.0~dfsg1-0ubuntu5.10
9.55.0~dfsg1-0ubuntu5.11
9.55.0~dfsg1-0ubuntu5.12

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "9.55.0~dfsg1-0ubuntu5.13",
            "binary_name": "ghostscript"
        },
        {
            "binary_version": "9.55.0~dfsg1-0ubuntu5.13",
            "binary_name": "ghostscript-x"
        },
        {
            "binary_version": "9.55.0~dfsg1-0ubuntu5.13",
            "binary_name": "libgs-dev"
        },
        {
            "binary_version": "9.55.0~dfsg1-0ubuntu5.13",
            "binary_name": "libgs9"
        },
        {
            "binary_version": "9.55.0~dfsg1-0ubuntu5.13",
            "binary_name": "libgs9-common"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-59800.json"

Ubuntu:24.04:LTS / ghostscript

Package

Name
ghostscript
Purl
pkg:deb/ubuntu/ghostscript@10.02.1~dfsg1-0ubuntu7.8?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
10.02.1~dfsg1-0ubuntu7.8

Affected versions

10.*
10.01.2~dfsg1-0ubuntu2
10.01.2~dfsg1-0ubuntu2.1
10.02.1~dfsg1-0ubuntu1
10.02.1~dfsg1-0ubuntu2
10.02.1~dfsg1-0ubuntu5
10.02.1~dfsg1-0ubuntu6
10.02.1~dfsg1-0ubuntu7
10.02.1~dfsg1-0ubuntu7.1
10.02.1~dfsg1-0ubuntu7.3
10.02.1~dfsg1-0ubuntu7.4
10.02.1~dfsg1-0ubuntu7.5
10.02.1~dfsg1-0ubuntu7.6
10.02.1~dfsg1-0ubuntu7.7

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "10.02.1~dfsg1-0ubuntu7.8",
            "binary_name": "ghostscript"
        },
        {
            "binary_version": "10.02.1~dfsg1-0ubuntu7.8",
            "binary_name": "libgs-common"
        },
        {
            "binary_version": "10.02.1~dfsg1-0ubuntu7.8",
            "binary_name": "libgs-dev"
        },
        {
            "binary_version": "10.02.1~dfsg1-0ubuntu7.8",
            "binary_name": "libgs10"
        },
        {
            "binary_version": "10.02.1~dfsg1-0ubuntu7.8",
            "binary_name": "libgs10-common"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-59800.json"

Ubuntu:25.10 / ghostscript

Package

Name
ghostscript
Purl
pkg:deb/ubuntu/ghostscript@10.05.0dfsg1-0ubuntu4?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
10.05.0dfsg1-0ubuntu4

Affected versions

10.*
10.05.0dfsg1-0ubuntu1
10.05.0dfsg1-0ubuntu2

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "10.05.0dfsg1-0ubuntu4",
            "binary_name": "ghostscript"
        },
        {
            "binary_version": "10.05.0dfsg1-0ubuntu4",
            "binary_name": "libgs-common"
        },
        {
            "binary_version": "10.05.0dfsg1-0ubuntu4",
            "binary_name": "libgs-dev"
        },
        {
            "binary_version": "10.05.0dfsg1-0ubuntu4",
            "binary_name": "libgs10"
        },
        {
            "binary_version": "10.05.0dfsg1-0ubuntu4",
            "binary_name": "libgs10-common"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-59800.json"