Access of Resource Using Incompatible Type ('Type Confusion') Affecting postgresql:16/postgresql-contrib package, versions <0:16.15-1.module+el9.4.0+24928+8c59a6c4


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.68% (51st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL9-POSTGRESQL-20085760
  • published24 Sept 2026
  • disclosed13 Aug 2026

Introduced: 13 Aug 2026

CVE-2026-16239  (opens in a new tab)
CWE-843  (opens in a new tab)

How to fix?

Upgrade RHEL:9 postgresql:16/postgresql-contrib to version 0:16.15-1.module+el9.4.0+24928+8c59a6c4 or higher.
This issue was patched in RHSA-2026:70856.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql:16/postgresql-contrib package and not the postgresql:16/postgresql-contrib package as distributed by RHEL. See How to fix? for RHEL:9 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1