CVE-2026-16238
PostgreSQL type confusion in pg_restore_attribute_stats() executes arbitrary code
CVSS Score
8.8
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-843 |
| Vendor | n/a |
| Product | postgresql |
| Ecosystems | |
| Industries | Technology |
| Published | Aug 13, 2026 |
Stay Ahead of the Next One
Get instant alerts for n/a postgresql
Be the first to know when new high vulnerabilities affecting n/a postgresql are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Affected Versions
n/a / PostgreSQL
18 < 18.5
References
Credits
The PostgreSQL project thanks Amy Burnett (OpenAI Codex Security) for reporting this problem.