Access of Resource Using Incompatible Type ('Type Confusion') Affecting postgresql16 package, versions *


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.6% (50th 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-RHEL10-POSTGRESQL16-22578668
  • published18 Nov 2026
  • disclosed12 Nov 2026

Introduced: 12 Nov 2026

NewCVE-2026-116331  (opens in a new tab)
CWE-843  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:10 postgresql16.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql16 package and not the postgresql16 package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

Type confusion in PostgreSQL min/max aggregate optimization allows an object creator to execute arbitrary code as the operating system user running the database, via a user-defined aggregate whose SORTOP option causes the planner to treat the aggregate's input and result as the same type when they differ. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

CVSS Base Scores

version 3.1