UBUNTU-CVE-2026-103226

Source
https://ubuntu.com/security/CVE-2026-103226
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-103226.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-103226
Upstream
  • CVE-2026-103226
Downstream
Related
Published
2026-09-30T15:22:00Z
Modified
2026-10-22T23:20:03Z
Severity
  • 6.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L CVSS Calculator
  • 2.1 (Low) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P CVSS Calculator
  • Ubuntu - low
Summary
[none]
Details

A vulnerability was identified in Artifex Ghostscript up to 10.09.0. Affected is the function type1_callsubr of the file devices/vector/gdevpsfx.c of the component Pdfwrite. The manipulation leads to stack-based buffer overflow. Remote exploitation of the attack is possible. The exploit is publicly available and might be used. It is suggested to install a patch to address this issue. A solution was implemented: "I've chosen to fix this slightly differently by using the defined macro in the font parsing loop rather than in the callsubr function, because this better matches the pattern of 'normal' usage."

References

Affected packages

Ubuntu:22.04:LTS
ghostscript

Package

Name
ghostscript
Purl
pkg:deb/ubuntu/ghostscript?arch=source&distro=jammy

Affected ranges

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

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
9.55.0~dfsg1-0ubuntu5.13
9.55.0~dfsg1-0ubuntu5.14

Ecosystem specific

{
    "availability":  "No subscription required",
    "binaries":  [
        {
            "binary_name":  "ghostscript",
            "binary_version":  "9.55.0~dfsg1-0ubuntu5.15"
        },
        {
            "binary_name":  "ghostscript-x",
            "binary_version":  "9.55.0~dfsg1-0ubuntu5.15"
        },
        {
            "binary_name":  "libgs9",
            "binary_version":  "9.55.0~dfsg1-0ubuntu5.15"
        },
        {
            "binary_name":  "libgs9-common",
            "binary_version":  "9.55.0~dfsg1-0ubuntu5.15"
        }
    ],
    "priority_reason":  "Compiler hardening makes this a crash in pdfwrite only"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-103226.json"
Ubuntu:24.04:LTS
ghostscript

Package

Name
ghostscript
Purl
pkg:deb/ubuntu/ghostscript?arch=source&distro=noble

Affected ranges

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

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
10.02.1~dfsg1-0ubuntu7.8
10.02.1~dfsg1-0ubuntu7.9

Ecosystem specific

{
    "availability":  "No subscription required",
    "binaries":  [
        {
            "binary_name":  "ghostscript",
            "binary_version":  "10.02.1~dfsg1-0ubuntu7.10"
        },
        {
            "binary_name":  "libgs-common",
            "binary_version":  "10.02.1~dfsg1-0ubuntu7.10"
        },
        {
            "binary_name":  "libgs10",
            "binary_version":  "10.02.1~dfsg1-0ubuntu7.10"
        },
        {
            "binary_name":  "libgs10-common",
            "binary_version":  "10.02.1~dfsg1-0ubuntu7.10"
        }
    ],
    "priority_reason":  "Compiler hardening makes this a crash in pdfwrite only"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-103226.json"
Ubuntu:26.04:LTS
ghostscript

Package

Name
ghostscript
Purl
pkg:deb/ubuntu/ghostscript?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
10.06.0~dfsg-3ubuntu1.2

Affected versions

10.*
10.05.0dfsg1-0ubuntu4
10.05.0dfsg1-0ubuntu5
10.06.0~dfsg-3ubuntu1
10.06.0~dfsg-3ubuntu1.1

Ecosystem specific

{
    "availability":  "No subscription required",
    "binaries":  [
        {
            "binary_name":  "ghostscript",
            "binary_version":  "10.06.0~dfsg-3ubuntu1.2"
        },
        {
            "binary_name":  "libgs-common",
            "binary_version":  "10.06.0~dfsg-3ubuntu1.2"
        },
        {
            "binary_name":  "libgs10",
            "binary_version":  "10.06.0~dfsg-3ubuntu1.2"
        },
        {
            "binary_name":  "libgs10-common",
            "binary_version":  "10.06.0~dfsg-3ubuntu1.2"
        }
    ],
    "priority_reason":  "Compiler hardening makes this a crash in pdfwrite only"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-103226.json"
Ubuntu:26.10
ghostscript

Package

Name
ghostscript
Purl
pkg:deb/ubuntu/ghostscript?arch=source&distro=stonking

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
10.07.1~dfsg-1ubuntu2.1

Affected versions

10.*
10.06.0~dfsg-3ubuntu1
10.07.1~dfsg-1ubuntu1
10.07.1~dfsg-1ubuntu2

Ecosystem specific

{
    "availability":  "No subscription required",
    "binaries":  [
        {
            "binary_name":  "ghostscript",
            "binary_version":  "10.07.1~dfsg-1ubuntu2.1"
        },
        {
            "binary_name":  "libgs-common",
            "binary_version":  "10.07.1~dfsg-1ubuntu2.1"
        },
        {
            "binary_name":  "libgs10",
            "binary_version":  "10.07.1~dfsg-1ubuntu2.1"
        },
        {
            "binary_name":  "libgs10-common",
            "binary_version":  "10.07.1~dfsg-1ubuntu2.1"
        }
    ],
    "priority_reason":  "Compiler hardening makes this a crash in pdfwrite only"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-103226.json"
Ubuntu:Pro:16.04:LTS
ghostscript

Package

Name
ghostscript
Purl
pkg:deb/ubuntu/ghostscript?arch=source&distro=esm-infra-legacy%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
9.26~dfsg+0-0ubuntu0.16.04.14+esm11

Affected versions

9.*
9.16~dfsg~0-0ubuntu3
9.16~dfsg~0-0ubuntu4
9.18~dfsg~0-0ubuntu1
9.18~dfsg~0-0ubuntu2
9.18~dfsg~0-0ubuntu2.2
9.18~dfsg~0-0ubuntu2.3
9.18~dfsg~0-0ubuntu2.4
9.18~dfsg~0-0ubuntu2.6
9.18~dfsg~0-0ubuntu2.7
9.18~dfsg~0-0ubuntu2.8
9.18~dfsg~0-0ubuntu2.9
9.25~dfsg+1-0ubuntu0.16.04.1
9.25~dfsg+1-0ubuntu0.16.04.2
9.25~dfsg+1-0ubuntu0.16.04.3
9.26~dfsg+0-0ubuntu0.16.04.1
9.26~dfsg+0-0ubuntu0.16.04.3
9.26~dfsg+0-0ubuntu0.16.04.4
9.26~dfsg+0-0ubuntu0.16.04.5
9.26~dfsg+0-0ubuntu0.16.04.6
9.26~dfsg+0-0ubuntu0.16.04.7
9.26~dfsg+0-0ubuntu0.16.04.8
9.26~dfsg+0-0ubuntu0.16.04.9
9.26~dfsg+0-0ubuntu0.16.04.10
9.26~dfsg+0-0ubuntu0.16.04.11
9.26~dfsg+0-0ubuntu0.16.04.12
9.26~dfsg+0-0ubuntu0.16.04.13
9.26~dfsg+0-0ubuntu0.16.04.14
9.26~dfsg+0-0ubuntu0.16.04.14+esm1
9.26~dfsg+0-0ubuntu0.16.04.14+esm2
9.26~dfsg+0-0ubuntu0.16.04.14+esm3
9.26~dfsg+0-0ubuntu0.16.04.14+esm4
9.26~dfsg+0-0ubuntu0.16.04.14+esm5
9.26~dfsg+0-0ubuntu0.16.04.14+esm6
9.26~dfsg+0-0ubuntu0.16.04.14+esm7
9.26~dfsg+0-0ubuntu0.16.04.14+esm8
9.26~dfsg+0-0ubuntu0.16.04.14+esm9
9.26~dfsg+0-0ubuntu0.16.04.14+esm10

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "ghostscript",
            "binary_version":  "9.26~dfsg+0-0ubuntu0.16.04.14+esm11"
        },
        {
            "binary_name":  "ghostscript-x",
            "binary_version":  "9.26~dfsg+0-0ubuntu0.16.04.14+esm11"
        },
        {
            "binary_name":  "libgs9",
            "binary_version":  "9.26~dfsg+0-0ubuntu0.16.04.14+esm11"
        },
        {
            "binary_name":  "libgs9-common",
            "binary_version":  "9.26~dfsg+0-0ubuntu0.16.04.14+esm11"
        }
    ],
    "priority_reason":  "Compiler hardening makes this a crash in pdfwrite only"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-103226.json"
Ubuntu:Pro:18.04:LTS
ghostscript

Package

Name
ghostscript
Purl
pkg:deb/ubuntu/ghostscript?arch=source&distro=esm-infra%2Fbionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
9.26~dfsg+0-0ubuntu0.18.04.18+esm6

Affected versions

9.*
9.21~dfsg+1-0ubuntu3
9.22~dfsg+1-0ubuntu1
9.22~dfsg+1-0ubuntu1.1
9.22~dfsg+1-0ubuntu1.2
9.25~dfsg+1-0ubuntu0.18.04.1
9.25~dfsg+1-0ubuntu0.18.04.2
9.26~dfsg+0-0ubuntu0.18.04.1
9.26~dfsg+0-0ubuntu0.18.04.3
9.26~dfsg+0-0ubuntu0.18.04.4
9.26~dfsg+0-0ubuntu0.18.04.5
9.26~dfsg+0-0ubuntu0.18.04.6
9.26~dfsg+0-0ubuntu0.18.04.7
9.26~dfsg+0-0ubuntu0.18.04.8
9.26~dfsg+0-0ubuntu0.18.04.9
9.26~dfsg+0-0ubuntu0.18.04.10
9.26~dfsg+0-0ubuntu0.18.04.11
9.26~dfsg+0-0ubuntu0.18.04.12
9.26~dfsg+0-0ubuntu0.18.04.13
9.26~dfsg+0-0ubuntu0.18.04.14
9.26~dfsg+0-0ubuntu0.18.04.15
9.26~dfsg+0-0ubuntu0.18.04.16
9.26~dfsg+0-0ubuntu0.18.04.17
9.26~dfsg+0-0ubuntu0.18.04.18
9.26~dfsg+0-0ubuntu0.18.04.18+esm1
9.26~dfsg+0-0ubuntu0.18.04.18+esm2
9.26~dfsg+0-0ubuntu0.18.04.18+esm3
9.26~dfsg+0-0ubuntu0.18.04.18+esm4
9.26~dfsg+0-0ubuntu0.18.04.18+esm5

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "ghostscript",
            "binary_version":  "9.26~dfsg+0-0ubuntu0.18.04.18+esm6"
        },
        {
            "binary_name":  "ghostscript-x",
            "binary_version":  "9.26~dfsg+0-0ubuntu0.18.04.18+esm6"
        },
        {
            "binary_name":  "libgs9",
            "binary_version":  "9.26~dfsg+0-0ubuntu0.18.04.18+esm6"
        },
        {
            "binary_name":  "libgs9-common",
            "binary_version":  "9.26~dfsg+0-0ubuntu0.18.04.18+esm6"
        }
    ],
    "priority_reason":  "Compiler hardening makes this a crash in pdfwrite only"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-103226.json"
Ubuntu:Pro:20.04:LTS
ghostscript

Package

Name
ghostscript
Purl
pkg:deb/ubuntu/ghostscript?arch=source&distro=esm-infra%2Ffocal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
9.50~dfsg-5ubuntu4.15+esm3

Affected versions

9.*
9.27~dfsg+0-0ubuntu3
9.27~dfsg+0-0ubuntu4
9.50~dfsg-5ubuntu1
9.50~dfsg-5ubuntu2
9.50~dfsg-5ubuntu3
9.50~dfsg-5ubuntu4
9.50~dfsg-5ubuntu4.1
9.50~dfsg-5ubuntu4.2
9.50~dfsg-5ubuntu4.3
9.50~dfsg-5ubuntu4.4
9.50~dfsg-5ubuntu4.5
9.50~dfsg-5ubuntu4.6
9.50~dfsg-5ubuntu4.7
9.50~dfsg-5ubuntu4.8
9.50~dfsg-5ubuntu4.9
9.50~dfsg-5ubuntu4.10
9.50~dfsg-5ubuntu4.11
9.50~dfsg-5ubuntu4.12
9.50~dfsg-5ubuntu4.13
9.50~dfsg-5ubuntu4.14
9.50~dfsg-5ubuntu4.15
9.50~dfsg-5ubuntu4.15+esm1
9.50~dfsg-5ubuntu4.15+esm2

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "ghostscript",
            "binary_version":  "9.50~dfsg-5ubuntu4.15+esm3"
        },
        {
            "binary_name":  "ghostscript-x",
            "binary_version":  "9.50~dfsg-5ubuntu4.15+esm3"
        },
        {
            "binary_name":  "libgs9",
            "binary_version":  "9.50~dfsg-5ubuntu4.15+esm3"
        },
        {
            "binary_name":  "libgs9-common",
            "binary_version":  "9.50~dfsg-5ubuntu4.15+esm3"
        }
    ],
    "priority_reason":  "Compiler hardening makes this a crash in pdfwrite only"
}

Database specific

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