UBUNTU-CVE-2026-16238

Source
https://ubuntu.com/security/CVE-2026-16238
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-16238.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2026-16238
Upstream
  • CVE-2026-16238
Downstream
Related
Published
2026-08-13T13:17:00Z
Modified
2026-09-02T19:39:46Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Type confusion in PostgreSQL pg_restore_attribute_stats() allows an object creator to execute arbitrary code as the operating system user running the database, via conflation of range and multirange values. Within major version 18, minor versions before PostgreSQL 18.6 are affected. Versions before PostgreSQL 18 are unaffected.

References

Affected packages

Ubuntu:Pro:14.04:LTS / postgresql-9.3

Package

Name
postgresql-9.3
Purl
pkg:deb/ubuntu/postgresql-9.3?arch=source&distro=esm-infra-legacy%2Ftrusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

9.*
9.3.1-1
9.3.2-1
9.3.2-1ubuntu1
9.3.2-1ubuntu2
9.3.3-1
9.3.3-1bzr1
9.3.3-1bzr2
9.3.4-1
9.3.5-0ubuntu0.14.04.1
9.3.6-0ubuntu0.14.04
9.3.7-0ubuntu0.14.04
9.3.8-0ubuntu0.4.04
9.3.9-0ubuntu0.14.04
9.3.10-0ubuntu0.14.04
9.3.11-0ubuntu0.14.04
9.3.12-0ubuntu0.14.04
9.3.13-0ubuntu0.14.04
9.3.14-0ubuntu0.14.04
9.3.15-0ubuntu0.14.04
9.3.16-0ubuntu0.14.04
9.3.17-0ubuntu0.14.04
9.3.18-0ubuntu0.14.04.1
9.3.19-0ubuntu0.14.04
9.3.20-0ubuntu0.14.04
9.3.21-0ubuntu0.14.04
9.3.22-0ubuntu0.14.04
9.3.23-0ubuntu0.14.04
9.3.24-0ubuntu0.14.04
9.3.24-0ubuntu0.14.04+esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libecpg-compat3",
            "binary_version": "9.3.24-0ubuntu0.14.04+esm1"
        },
        {
            "binary_name": "libecpg6",
            "binary_version": "9.3.24-0ubuntu0.14.04+esm1"
        },
        {
            "binary_name": "libpgtypes3",
            "binary_version": "9.3.24-0ubuntu0.14.04+esm1"
        },
        {
            "binary_name": "libpq5",
            "binary_version": "9.3.24-0ubuntu0.14.04+esm1"
        },
        {
            "binary_name": "postgresql-9.3",
            "binary_version": "9.3.24-0ubuntu0.14.04+esm1"
        },
        {
            "binary_name": "postgresql-client-9.3",
            "binary_version": "9.3.24-0ubuntu0.14.04+esm1"
        },
        {
            "binary_name": "postgresql-contrib-9.3",
            "binary_version": "9.3.24-0ubuntu0.14.04+esm1"
        },
        {
            "binary_name": "postgresql-doc-9.3",
            "binary_version": "9.3.24-0ubuntu0.14.04+esm1"
        },
        {
            "binary_name": "postgresql-plperl-9.3",
            "binary_version": "9.3.24-0ubuntu0.14.04+esm1"
        },
        {
            "binary_name": "postgresql-plpython-9.3",
            "binary_version": "9.3.24-0ubuntu0.14.04+esm1"
        },
        {
            "binary_name": "postgresql-plpython3-9.3",
            "binary_version": "9.3.24-0ubuntu0.14.04+esm1"
        },
        {
            "binary_name": "postgresql-pltcl-9.3",
            "binary_version": "9.3.24-0ubuntu0.14.04+esm1"
        },
        {
            "binary_name": "postgresql-server-dev-9.3",
            "binary_version": "9.3.24-0ubuntu0.14.04+esm1"
        }
    ]
}

Database specific

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

Ubuntu:26.04:LTS / postgresql-18

Package

Name
postgresql-18
Purl
pkg:deb/ubuntu/postgresql-18?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
18.6-0ubuntu0.26.04.1

Affected versions

18.*
18.0-1
18.1-1
18.1-1ubuntu1
18.1-1ubuntu2
18.1-2
18.3-1
18.4-0ubuntu0.26.04.1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "libecpg-compat3",
            "binary_version": "18.6-0ubuntu0.26.04.1"
        },
        {
            "binary_name": "libecpg6",
            "binary_version": "18.6-0ubuntu0.26.04.1"
        },
        {
            "binary_name": "libpgtypes3",
            "binary_version": "18.6-0ubuntu0.26.04.1"
        },
        {
            "binary_name": "libpq-oauth",
            "binary_version": "18.6-0ubuntu0.26.04.1"
        },
        {
            "binary_name": "libpq5",
            "binary_version": "18.6-0ubuntu0.26.04.1"
        },
        {
            "binary_name": "postgresql-18",
            "binary_version": "18.6-0ubuntu0.26.04.1"
        },
        {
            "binary_name": "postgresql-18-jit",
            "binary_version": "18.6-0ubuntu0.26.04.1"
        },
        {
            "binary_name": "postgresql-client-18",
            "binary_version": "18.6-0ubuntu0.26.04.1"
        },
        {
            "binary_name": "postgresql-doc-18",
            "binary_version": "18.6-0ubuntu0.26.04.1"
        },
        {
            "binary_name": "postgresql-plperl-18",
            "binary_version": "18.6-0ubuntu0.26.04.1"
        },
        {
            "binary_name": "postgresql-plpython3-18",
            "binary_version": "18.6-0ubuntu0.26.04.1"
        },
        {
            "binary_name": "postgresql-pltcl-18",
            "binary_version": "18.6-0ubuntu0.26.04.1"
        },
        {
            "binary_name": "postgresql-server-dev-18",
            "binary_version": "18.6-0ubuntu0.26.04.1"
        }
    ]
}

Database specific

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