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—
Product
Postgresql
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
| Product | Affected versions | Fixed in |
|---|---|---|
| postgresql postgresql | 14.0 ≤ v < 14.24, 15.0 ≤ v < 15.19, 16.0 ≤ v < 16.15, 17.0 ≤ v < 17.11, 18.0 ≤ v < 18.5 | 14.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.