Vulnerability database / CVE-2026-16238
CVE-2026-16238
HIGH 8.8 CVSS 3.1 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.
Published 13 Aug 2026
Last modified 29 Aug 2026 Assigned by f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 NVD status Modified Weakness
CWE-843 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 (Secondary)
CVSS 3.1
HIGH 8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
postgresql
postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
>= 14.0, < 14.24
14.24 NVD
postgresql
postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
>= 15.0, < 15.19
15.19 NVD
postgresql
postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
>= 16.0, < 16.15
16.15 NVD
postgresql
postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
>= 17.0, < 17.11
17.11 NVD
postgresql
postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
>= 18.0, < 18.5
18.5
References
History
25 Nov 2026 21:04 UTC · NVD: first stored (published 13 Aug 2026)