CVE-2026-16238 HIGH

CVE-2026-16238: PostgreSQL type confusion in pg_restore_attribute_stats() executes arbitrary code

Vendor N/A
Product PostgreSQL
Weakness CWE-843
Published August 13, 2026
Last update August 13, 2026

CVSS base score

8.8/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

August 13, 2026 CVE published
August 13, 2026 Record updated