CVE-2026-16238

High

Description

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductPostgresql
PublishedAug 13, 2026
First seenAug 13, 2026
Weakness typeCWE-843CWE-843

How to fix

Update
  • postgresql postgresql14.24, 15.19, 16.15, 17.11, 18.5 or later

Affected products

ProductAffected versionsFixed in
postgresql postgresql14.0 ≤ v < 14.24, 15.0 ≤ v < 15.19, 16.0 ≤ v < 16.15, 17.0 ≤ v < 17.11, 18.0 ≤ v < 18.514.24, 15.19, 16.15, 17.11, 18.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.