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.
References
| Link | Resource |
|---|---|
| https://www.postgresql.org/support/security/CVE-2026-16239/ | Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
29 Aug 2026, 23:17
| Type | Values Removed | Values Added |
|---|---|---|
| Summary | (en) 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. |
19 Aug 2026, 15:00
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Postgresql
Postgresql postgresql |
|
| CPE | cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* | |
| References | () https://www.postgresql.org/support/security/CVE-2026-16239/ - Vendor Advisory |
13 Aug 2026, 13:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-08-13 13:17
Updated : 2026-08-29 23:17
NVD link : CVE-2026-16239
Mitre link : CVE-2026-16239
CVE.ORG link : CVE-2026-16239
JSON object : View
Products Affected
postgresql
- postgresql
CWE
CWE-843
Access of Resource Using Incompatible Type ('Type Confusion')
