Skip to main content
HIGH

CVE-2026-16239

CVSS v3

8.8

HIGH

EPSS Score

0.7 %

exploit probability, as of 2026-10-19

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for postgresql.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • postgresqlBitnamiall versions · fixed in 14.24.0
  • pg_repackAlmaLinux:9all versions · fixed in 1.4.8-2.module_el9.5.0+119+18833d03
  • pg_repackAlmaLinux:8all versions · fixed in 1.4.6-3.module_el8.9.0+3704+f1f917ce
  • pgauditAlmaLinux:9all versions · fixed in 1.7.0-1.module_el9.3.0+52+21733919
  • pgauditAlmaLinux:8all versions · fixed in 1.4.0-7.module_el8.9.0+3740+0e74851f.alma.1
  • pgvectorAlmaLinux:9all versions · fixed in 0.8.1-1.module_el9.8.0+234+5456f35d
  • postgisAlmaLinux:9all versions · fixed in 3.6.1-4.module_el9.8.0+310+22372bccand 4 other packages
  • postgres-decoderbufsAlmaLinux:9all versions · fixed in 1.9.7-1.Final.module_el9.3.0+52+21733919

6 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-16239 Red Hat Product Security3,205 products fixed · 11 known affected

    postgresql: PostgreSQL: Arbitrary code execution via type confusion in cursor lifecycle

    postgresql as a component of Red Hat Enterprise Linux 6 · postgresql-contrib as a component of Red Hat Enterprise Linux 6 · postgresql-devel as a component of Red Hat Enterprise Linux 6

  • RHSA-2026:84585 Red Hat Product Security75 products fixed

    Red Hat Security Advisory: postgresql security update

  • RHSA-2026:73912 Red Hat Product Security158 products fixed

    Red Hat Security Advisory: postgresql:12 security update

  • RHSA-2026:73404 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Ansible automation portal Red Hat Enterprise Linux Images

  • RHSA-2026:72361 Red Hat Product Security85 products fixed

    Red Hat Security Advisory: postgresql security update

  • RHSA-2026:72363 Red Hat Product Security175 products fixed

    Red Hat Security Advisory: postgresql:12 security update

20 more advisories

Full record on NVD

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.6, 17.11, 16.15, 15.19, and 14.24 are affected.

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2026-08-13
Last Modified
2026-08-14

Frequently asked questions

What is CVE-2026-16239?

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.

Is CVE-2026-16239 actively exploited?

Active exploitation of CVE-2026-16239 has not been confirmed. Its EPSS score was 0.7% on 2026-10-19, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-16239?

CVE-2026-16239 has a CVSS v3 base score of 8.8 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running postgresql? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month