CVE-2026-16238CWE-843

CVE-2026-16238

High · published August 13, 2026

CVSS v3.1
8.8
EPSS
0%
Percentile
34.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00414 · 34.6th percentile
Weakness
CWE-843 · Access of Resource Using Incompatible Type ('Type Confusion')
Published
2026-08-13T17:17Z
Affected products (5)
ProductVersionsFixed in
postgresql/postgresql≥ 14.0, < 14.2414.24
postgresql/postgresql≥ 15.0, < 15.1915.19
postgresql/postgresql≥ 16.0, < 16.1516.15
postgresql/postgresql≥ 17.0, < 17.1117.11
postgresql/postgresql≥ 18.0, < 18.518.5
References (1)
EPSS history
Timeline
  • 13 AUG 13:00Z
    PostgreSQL type confusion in pg_restore_attribute_stats() executes arbitrary code
    cvelistv5