CVE-2026-16238
📛 CVE Title
PostgreSQL type confusion in pg_restore_attribute_stats() executes arbitrary code
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.5 are affected. Versions before PostgreSQL 18 are unaffected.
Overview
- State
- PUBLISHED
- Assigner (CNA)
- PostgreSQL
- CVSS severity
- HIGH
- CVSS score
- 8.8 / 10
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Effective score
- 8.8 / 10 HIGH source: CNA overview
- MSRC score
- 8.8 / 10 HIGH MS rating: Important
- CWE(s)
-
CWE-843 - Reserved
- 2026-07-20
- Published
- 2026-08-13 13:00 UTC
- Last updated
- 2026-08-13 15:38 UTC
- Source
- https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/16xxx/CVE-2026-16238.json
- Linked Threat
- CVE-2026-16238 — PostgreSQL type confusion in pg_restore_attribute_stats() executes arbitrary code
NVD triage scoring NVD CVE 2.0
Layer NVD adds on top of the CNA's CVE record — published / last-modified timestamps, exploitability / impact subscores, and the FIRST.org EPSS probability that this CVE will be exploited in the wild in the next 30 days.
- NVD published
- 2026-08-13 13:17:46 UTC
- NVD last modified
- 2026-08-14 05:16:57 UTC
- NVD CVSS v3.1
- 8.8 / 10 HIGH source: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
- NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Exploitability subscore
- 2.8 / 10
- Impact subscore
- 5.9 / 10
- EPSS score
- 0.0059 (probability of exploitation in next 30 days)
- EPSS percentile
- 45.31% vs all CVEs — higher = more likely to be exploited, as of 2026-08-14
NVD / KEV / EPSS data refreshed 2026-08-14 15:22 UTC. Re-run the 🛰 Backfill from NVD button above to refresh.
European Union Vulnerability Database ENISA EUVD
ENISA's official EU repository for curated vulnerability intelligence. Carries a separate identifier (EUVD-YYYY-NNNN) and frequently exposes an earlier-published description + CVSS than NVD does.
- EUVD ID
-
EUVD-2026-57848 - Assigner
- PostgreSQL
- Published
- Aug 13, 2026, 1:00:12 PM
- Updated
- Aug 14, 2026, 3:55:36 AM
- EUVD base score (CVSS 3.1)
-
8.8 / 10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - EUVD-reported EPSS
- 0.0000
- Vendors
- n/a
- Products
-
PostgreSQL (18 <18.5)
- Aliases
-
GHSA-6q3v-qqc9-g2rv
ENISA 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.5 are affected. Versions before PostgreSQL 18 are unaffected.
EUVD references (1)
Microsoft Security Response Center MSRC
Microsoft's vendor-authoritative record from the Security Update Guide — its own CVSS score, impact, severity rating, exploit assessment, and KB-article fixes. Refreshed 2026-09-24 03:05 UTC (source: CVRF).
- MS severity
- Important
- MS CVSS base score
- 8.8 / 10 (temporal 8.8)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Release
- 2026-Aug
Affected products (1)
| Vendor | Product | Versions | Platforms |
|---|---|---|---|
| n/a | PostgreSQL |
18 (affected)
|
— |
Vendor references (1)
References embedded in the original CVE record by the assigning CNA.
Web references (1)
DuckDuckGo results ranked by threat-intel / vendor advisory domains. Generated by the 🔎 Find references (web) button above — same flow as the Remediations search.
NVD-tagged references (1)
Reference list NVD curates from the CNA record, vendor advisories, and third-party reports. The tag chips below are NVD's analyst-assigned categories.
- https://www.postgresql.org/support/security/CVE-2026-16238/ f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Remediations (10)
Remediations are stored against the linked Threat row; the list below is deduplicated across both pages.
-
web:blog.checkpoint.com
As part of Check Point's Frontier AI Readiness Program, we are releasing a jumbo hotfix with security and hardening fixes for our firewall and management %
2026-08-14 13:55 UTC -
web:blog.talosintelligence.com
Microsoft has released its monthly security update for August 2026 , which includes 421 vulnerabilities affecting a range of products, including 62 that Microsoft marked as "critical."
2026-08-14 13:55 UTC -
web:security-tracker.debian.org
The information below is based on the following data on fixed versions.
2026-08-14 13:55 UTC -
web:www.action1.com
Patch Tuesday is a scheduled release day for software patches, primarily used by Microsoft, to fix security vulnerabilities, bugs, and performance issues in its software products like Windows, Office, and Azure. It occurs monthly and aims to standardize the process of delivering security updates to ensure devices remain protected.
2026-08-14 13:55 UTC -
web:www.microsoft.com
Help protect your computing environment by keeping up to date on Microsoft technical security notifications. Security Update Guide Notifications Microsoft's free Security Update Guide Notifications provide links to security-related software updates and notification of re-released security updates. These notifications are sent via email throughout the month as needed. You can choose the type of ...
2026-08-14 13:55 UTC -
web:www.oracle.com
This Critical Patch Update contains 1449 new security patches across the product families listed below. Please note that a My Oracle Support (MOS) note summarizing the content of this Critical Patch Update and other Oracle Software Security Assurance activities is located at July 2026 Critical Patch Update: Executive Summary and Analysis.
2026-08-14 13:55 UTC -
web:www.oracle.com
Additional CVEs addressed are: The patch for CVE - 2026 -34481 also addresses CVE - 2026 -34477, CVE - 2026 -34478, CVE - 2026 -34479, and CVE - 2026 -34480. Oracle Fusion Middleware Risk Matrix This Critical Security Patch Update contains 106 new security patches for Oracle Fusion Middleware. 53 of these vulnerabilities may be remotely exploitable without authentication, i.e., may be exploited over a ...
2026-08-14 13:55 UTC -
web:www.techradar.com
Microsoft shipped three times more fixes than usual in its latest Patch Tuesday update.
2026-08-14 13:55 UTC -
web:www.windowscentral.com
Microsoft says AI is reshaping Windows security, and the July 2026 Patch Tuesday update is the first major sign of what's coming.
2026-08-14 13:55 UTC -
web:zecurit.com
Get the complete breakdown of Microsoft's August 2026 Patch Tuesday. We analyze the latest security updates and all critical CVEs .
2026-08-14 13:55 UTC
AI Forensic Analysis
Only Available for Registered Users. Sign in to view.
Raw JSON
The full cvelistV5 record. Download as CVE-2026-16238.json.
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-16238",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-08-13T14:30:30.648909Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-08-13T15:38:15.538Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "PostgreSQL",
"vendor": "n/a",
"versions": [
{
"lessThan": "18.5",
"status": "affected",
"version": "18",
"versionType": "rpm"
}
]
}
],
"configurations": [
{
"lang": "en",
"value": "attacker has permission to create objects (temporary objects or non-temporary objects in at least one schema)"
}
],
"credits": [
{
"lang": "en",
"value": "The PostgreSQL project thanks Amy Burnett (OpenAI Codex Security) for reporting this problem."
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 8.8,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"format": "CVSS"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-843",
"description": "Access of Resource Using Incompatible Type ('Type Confusion')",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-13T13:00:12.450Z",
"orgId": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007",
"shortName": "PostgreSQL"
},
"references": [
{
"url": "https://www.postgresql.org/support/security/CVE-2026-16238/"
}
],
"title": "PostgreSQL type confusion in pg_restore_attribute_stats() executes arbitrary code",
"workarounds": [
{
"lang": "en",
"value": "Revoke public EXECUTE permission on the function"
}
],
"x_postgresql": {
"component": "core server"
}
}
},
"cveMetadata": {
"assignerOrgId": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007",
"assignerShortName": "PostgreSQL",
"cveId": "CVE-2026-16238",
"datePublished": "2026-08-13T13:00:12.450Z",
"dateReserved": "2026-07-20T01:55:07.055Z",
"dateUpdated": "2026-08-13T15:38:15.538Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}