CVE-2026-16238

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
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*

History

29 Aug 2026, 23:17

Type Values Removed Values Added
Summary (en) 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.5 are affected. Versions before PostgreSQL 18 are unaffected. (en) 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.

19 Aug 2026, 14:59

Type Values Removed Values Added
References () https://www.postgresql.org/support/security/CVE-2026-16238/ - () https://www.postgresql.org/support/security/CVE-2026-16238/ - Vendor Advisory
First Time Postgresql
Postgresql postgresql
CPE cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*

13 Aug 2026, 13:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-08-13 13:17

Updated : 2026-08-29 23:17


NVD link : CVE-2026-16238

Mitre link : CVE-2026-16238

CVE.ORG link : CVE-2026-16238


JSON object : View

Products Affected

postgresql

  • postgresql
CWE
CWE-843

Access of Resource Using Incompatible Type ('Type Confusion')