Type confusion in PostgreSQL "portal"/cursor lifecycle allows a user to execute arbitrary code as the operating system user running the database, via re-creation of a cursor or other portal with different types. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.
CVE-2026-16239
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(medium)
- 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
- 44%
- KEV
- Not listed
Published
August 13, 2026
Last Modified
August 29, 2026
Advisory Details (1)
Auto-updated Aug 13, 2026PostgreSQL: CVE-2026-16239: PostgreSQL type confusion in cursor CLOSE + DECLARE executes arbitrary code
https://www.postgresql.org/support/security/CVE-2026-16239/Vendor Advisories for CVE-2026-16239(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(4)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | postgresql-server-dev-18 (18.6-0ubuntu0.26.04.1) @ resolute | 2026-09-19 | ubuntu |
| redhat | postgresql:18-9080020260914093252.rhel9 | 2026-09-16 | redhat |
| redhat | postgresql:16-9080020260907191505.rhel9 | 2026-09-15 | redhat |
| redhat | postgresql18-0:18.6-1.el10_2 | 2026-09-14 | redhat |
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.
Affected Packages
(11 across 7 ecosystems)
Alpine:v3.21(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| postgresql16 | — | 16.15-r0 | — |
| postgresql17 | — | 17.11-r0 | — |
Alpine:v3.22(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| postgresql16 | — | 16.15-r0 | — |
| postgresql17 | — | 17.11-r0 | — |
Alpine:v3.23(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| postgresql17 | — | 17.11-r0 | — |
| postgresql18 | — | 18.5-r0 | — |
Alpine:v3.24(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| postgresql17 | — | 17.11-r0 | — |
| postgresql18 | — | 18.5-r0 | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| postgresql-15 | 15.10-0+deb12u1 ... 15.9-0+deb12u1 (21 versions) | 15.19-0+deb12u1 | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| postgresql-17 | 17.10-0+deb13u1 ... 17.9-0+deb13u1 (7 versions) | 17.11-0+deb13u1 | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| postgresql-18 | 18.0-1 ... 18~~devel.20250502-1 (20 versions) | 18.6-1 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(5)
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.
- Microsoft MSRCCVE-2026-162392026-08-15
PostgreSQL type confusion in cursor CLOSE + DECLARE executes arbitrary code
- Red HatRHSA-2026:67280IMPORTANT2026-08-13
RHSA-2026:67280 — Important
- Red HatRHSA-2026:67491IMPORTANT2026-08-13
RHSA-2026:67491 — Important
- Red HatRHSA-2026:67848IMPORTANT2026-08-13
RHSA-2026:67848 — Important
- UbuntuUSN-8653-1MEDIUM
PostgreSQL vulnerabilities
Data Freshness Timeline
(refreshed 33× in last 7d / 164× 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.
Showing the most recent 100 of 202 total refreshes for this CVE.
- 2026-09-19 15:18 UTCVendor advisory
- 2026-09-19 15:18 UTCGHSA enrichment
- 2026-09-19 02:47 UTCEG score recompute
- 2026-09-19 02:47 UTCVendor advisory
- 2026-09-19 02:47 UTCGHSA enrichment
- 2026-09-18 19:27 UTCEPSS rescore
- 2026-09-18 14:29 UTCVendor advisory
- 2026-09-18 14:29 UTCGHSA enrichment
- 2026-09-18 01:54 UTCEG score recompute
- 2026-09-18 01:54 UTCVendor advisory
- 2026-09-18 01:54 UTCGHSA enrichment
- 2026-09-17 13:37 UTCVendor advisory
- 2026-09-17 13:37 UTCGHSA enrichment
- 2026-09-17 00:11 UTCEG score recompute
- 2026-09-17 00:11 UTCVendor advisory
- 2026-09-17 00:11 UTCGHSA enrichment
- 2026-09-16 14:07 UTCEPSS rescore
- 2026-09-16 05:14 UTCEPSS rescore
- 2026-09-16 01:26 UTCVendor advisory
- 2026-09-16 01:26 UTCGHSA enrichment
- 2026-09-15 13:05 UTCEG score recompute
- 2026-09-15 13:05 UTCVendor advisory
- 2026-09-15 13:05 UTCGHSA enrichment
- 2026-09-14 21:44 UTCVendor advisory
- 2026-09-14 21:44 UTCGHSA enrichment
Show 75 moreShow fewer
- 2026-09-14 08:40 UTCVendor advisory
- 2026-09-14 08:40 UTCGHSA enrichment
- 2026-09-13 20:23 UTCEG score recompute
- 2026-09-13 20:23 UTCVendor advisory
- 2026-09-13 20:23 UTCGHSA enrichment
- 2026-09-13 16:46 UTCEPSS rescore
- 2026-09-13 08:06 UTCVendor advisory
- 2026-09-13 08:05 UTCGHSA enrichment
- 2026-09-12 19:49 UTCEG score recompute
- 2026-09-12 19:49 UTCVendor advisory
- 2026-09-12 19:49 UTCGHSA enrichment
- 2026-09-12 15:00 UTCEPSS rescore
- 2026-09-12 07:32 UTCVendor advisory
- 2026-09-12 07:31 UTCGHSA enrichment
- 2026-09-11 19:14 UTCEG score recompute
- 2026-09-11 19:14 UTCVendor advisory
- 2026-09-11 19:14 UTCGHSA enrichment
- 2026-09-11 14:52 UTCEPSS rescore
- 2026-09-11 09:36 UTCEPSS rescore
- 2026-09-11 06:51 UTCVendor advisory
- 2026-09-11 06:51 UTCGHSA enrichment
- 2026-09-10 18:34 UTCEG score recompute
- 2026-09-10 18:34 UTCVendor advisory
- 2026-09-10 18:34 UTCGHSA enrichment
- 2026-09-10 09:34 UTCEPSS rescore
- 2026-09-10 06:15 UTCVendor advisory
- 2026-09-10 06:15 UTCGHSA enrichment
- 2026-09-09 17:47 UTCVendor advisory
- 2026-09-09 17:46 UTCGHSA enrichment
- 2026-09-09 05:03 UTCEG score recompute
- 2026-09-09 05:03 UTCVendor advisory
- 2026-09-09 05:03 UTCGHSA enrichment
- 2026-09-08 22:00 UTCEPSS rescore
- 2026-09-08 06:28 UTCVendor advisory
- 2026-09-08 06:28 UTCGHSA enrichment
- 2026-09-07 18:04 UTCEG score recompute
- 2026-09-07 18:04 UTCVendor advisory
- 2026-09-07 18:04 UTCGHSA enrichment
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-07 05:47 UTCVendor advisory
- 2026-09-07 05:47 UTCGHSA enrichment
- 2026-09-06 14:55 UTCEG score recompute
- 2026-09-06 14:55 UTCVendor advisory
- 2026-09-06 14:55 UTCGHSA enrichment
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-06 02:36 UTCEG score recompute
- 2026-09-06 02:36 UTCVendor advisory
- 2026-09-06 02:36 UTCGHSA enrichment
- 2026-09-05 14:19 UTCVendor advisory
- 2026-09-05 14:19 UTCGHSA enrichment
- 2026-09-05 01:50 UTCEG score recompute
- 2026-09-05 01:50 UTCVendor advisory
- 2026-09-05 01:50 UTCGHSA enrichment
- 2026-09-04 13:33 UTCEG score recompute
- 2026-09-04 13:33 UTCVendor advisory
- 2026-09-04 13:33 UTCGHSA enrichment
- 2026-09-04 05:06 UTCEPSS rescore
- 2026-09-04 01:09 UTCVendor advisory
- 2026-09-04 01:09 UTCGHSA enrichment
- 2026-09-03 12:40 UTCVendor advisory
- 2026-09-03 12:40 UTCGHSA enrichment
- 2026-09-02 23:18 UTCEG score recompute
- 2026-09-02 23:18 UTCVendor advisory
- 2026-09-02 23:17 UTCGHSA enrichment
- 2026-09-02 14:11 UTCEPSS rescore
- 2026-09-02 01:50 UTCEG score recompute
- 2026-09-02 01:50 UTCVendor advisory
- 2026-09-02 01:50 UTCGHSA enrichment
- 2026-09-01 13:53 UTCEPSS rescore
- 2026-09-01 13:13 UTCEG score recompute
- 2026-09-01 13:13 UTCVendor advisory
- 2026-09-01 13:13 UTCGHSA enrichment
- 2026-09-01 04:39 UTCEPSS rescore
- 2026-09-01 00:52 UTCVendor advisory
- 2026-09-01 00:52 UTCGHSA enrichment
Frequently asked(5)
What is CVE-2026-16239?
When was CVE-2026-16239 disclosed?
Is CVE-2026-16239 actively exploited?
What is the CVSS score of CVE-2026-16239?
How do I remediate CVE-2026-16239?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-16239
Is Your Infrastructure Affected by CVE-2026-16239?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.