CVE-2026-16239 Affecting postgresql-16 package, versions <16.15-0ubuntu0.24.04.1


Severity

Recommended
medium

Based on Ubuntu 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-UBUNTU2404-POSTGRESQL16-18768601
  • published21 Aug 2026
  • disclosed13 Aug 2026

Introduced: 13 Aug 2026

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

How to fix?

Upgrade Ubuntu:24.04 postgresql-16 to version 16.15-0ubuntu0.24.04.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql-16 package and not the postgresql-16 package as distributed by Ubuntu. See How to fix? for Ubuntu:24.04 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