CVE-2026-16238: PostgreSQL · Type Confusion
Affects PostgreSQLSource CVE Database V5
Not known to be exploited · CVSS 8.8 High : upgrade to 18.6 soon.
Data as of 12 Nov 2026, 23:24 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 36% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 18.6
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 13 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
Upgrade PostgreSQL to 18.6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PostgreSQL | Affected
| Fixed in
|
Postgresqlpostgresql/postgresqlpkg:deb/postgresql/postgresqlOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade PostgreSQL to version 18.6 or later to address this vulnerability. Versions before 18 are not affected and do not require this patch. No other mitigation or temporary fix is indicated.
Description
CVE-2026-16238 is a high-severity type confusion vulnerability in PostgreSQL affecting major version 18 prior to 18.6. It allows an object creator to execute arbitrary code as the operating system user running the database by exploiting conflation of range and multirange values in the pg_restore_attribute_stats() function. Versions before PostgreSQL 18 are not affected.