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.
CVE-2026-16238
Score 8.8 from GitHub Security Advisory (severity: HIGH) published 2026-08-13. a secondary CVSS source baseline 8.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 8.8
- EG Score
- 8.8(high)
- EG Risk
- 40(Track)EG Risk 40/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity88% × 45%Exploitation1% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 1%
- EPSS %ILE
- 46%
- KEV
- Not listed
Published
August 13, 2026
Last Modified
August 19, 2026
Advisory Details (1)
Auto-updated Aug 13, 2026PostgreSQL: CVE-2026-16238: PostgreSQL type confusion in pg_restore_attribute_stats() executes arbitrary code
https://www.postgresql.org/support/security/CVE-2026-16238/Vendor Advisories for CVE-2026-16238(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(1)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | postgresql-server-dev-16 (16.15-0ubuntu0.24.04.1) @ noble | 2026-08-21 | ubuntu |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(1)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
Data Freshness Timeline
(refreshed 30× in last 7d / 41× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-21 04:12 UTCEG score recompute
- 2026-08-21 04:12 UTCVendor advisory
- 2026-08-21 04:12 UTCGHSA enrichment
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 15:50 UTCVendor advisory
- 2026-08-20 15:50 UTCGHSA enrichment
- 2026-08-20 03:27 UTCEG score recompute
- 2026-08-20 03:27 UTCGHSA enrichment
- 2026-08-19 17:03 UTCEPSS rescore
- 2026-08-19 15:04 UTCGHSA enrichment
- 2026-08-19 03:55 UTCGHSA enrichment
- 2026-08-18 15:33 UTCEG score recompute
- 2026-08-18 15:33 UTCGHSA enrichment
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-18 09:08 UTCGHSA enrichment
- 2026-08-17 20:44 UTCEG score recompute
- 2026-08-17 20:44 UTCGHSA enrichment
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 08:19 UTCGHSA enrichment
- 2026-08-16 19:57 UTCEG score recompute
- 2026-08-16 19:57 UTCGHSA enrichment
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 07:34 UTCEG score recompute
- 2026-08-16 07:34 UTCGHSA enrichment
- 2026-08-16 02:14 UTCEPSS rescore
Show 16 moreShow fewer
- 2026-08-15 19:12 UTCGHSA enrichment
- 2026-08-15 06:49 UTCEG score recompute
- 2026-08-15 06:49 UTCGHSA enrichment
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-14 17:47 UTCGHSA enrichment
- 2026-08-14 05:25 UTCEG score recompute
- 2026-08-14 05:25 UTCGHSA enrichment
- 2026-08-14 04:24 UTCEG score recompute
- 2026-08-14 04:24 UTCGHSA enrichment
- 2026-08-13 16:29 UTCEG score recompute
- 2026-08-13 16:29 UTCGHSA enrichment
- 2026-08-13 16:01 UTCEG score recompute
- 2026-08-13 16:01 UTCGHSA enrichment
- 2026-08-13 13:35 UTCEG score recompute
- 2026-08-13 13:17 UTCEG score recompute
- 2026-08-13 13:16 UTCMITRE cvelistV5first tracked
Frequently asked(5)
What is CVE-2026-16238?
When was CVE-2026-16238 disclosed?
Is CVE-2026-16238 actively exploited?
What is the CVSS score of CVE-2026-16238?
How do I remediate CVE-2026-16238?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-16238
Is Your Infrastructure Affected by CVE-2026-16238?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.