CVE-2026-16239
Received
Received - Intake
Type Confusion in PostgreSQL Database
Vulnerability report for CVE-2026-16239, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-08-13
Last updated on: 2026-08-13
Assigner: PostgreSQL
Description
Description
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.5, 17.11, 16.15, 15.19, and 14.24 are affected.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| postgresql | postgresql | to 18.5 (exc) |
| postgresql | postgresql | to 17.11 (exc) |
| postgresql | postgresql | to 16.15 (exc) |
| postgresql | postgresql | to 15.19 (exc) |
| postgresql | postgresql | to 14.24 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-843 | The product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type. |