CVSS 3.1
8.8 highCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HHigh (8.8) in postgresql postgresql. EPSS 0.7% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExplain CVE-2026-16239 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-16239?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-16239?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-16239 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| postgresql:postgresql | from 14.0 before 14.24 |
| postgresql:postgresql | from 15.0 before 15.19 |
| postgresql:postgresql | from 16.0 before 16.15 |
| postgresql:postgresql | from 17.0 before 17.11 |
| postgresql:postgresql | from 18.0 before 18.5 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | postgresql-15 | 15.19-0+deb12u1 | DEBIAN-CVE-2026-16239 DLA-4740-1 |
| Debian | 13 | postgresql-17 | 17.11-0+deb13u1 | DEBIAN-CVE-2026-16239 DSA-6438-1 |
| Debian | 14 | postgresql-18 | 18.6-1 | DEBIAN-CVE-2026-16239 |
| Ubuntu | 20.04:LTS | postgresql-12 | no fix listed | UBUNTU-CVE-2026-16239 |
| Ubuntu | 22.04:LTS | postgresql-14 | 14.24-0ubuntu0.22.04.1 | UBUNTU-CVE-2026-16239 USN-8653-1 |
| Ubuntu | 24.04:LTS | postgresql-16 | 16.15-0ubuntu0.24.04.1 | UBUNTU-CVE-2026-16239 USN-8653-1 |
| Ubuntu | 26.04:LTS | postgresql-18 | 18.6-0ubuntu0.26.04.1 | UBUNTU-CVE-2026-16239 USN-8653-1 |
| Ubuntu | Pro:14.04:LTS | postgresql-9.3 | no fix listed | UBUNTU-CVE-2026-16239 |
| Ubuntu | Pro:16.04:LTS | postgresql-9.5 | no fix listed | UBUNTU-CVE-2026-16239 |
| Ubuntu | Pro:18.04:LTS | postgresql-10 | no fix listed | UBUNTU-CVE-2026-16239 |
| Red Hat | enterprise_linux:8::appstream | pg_repack, pg_repack-debuginfo, pg_repack-debugsource | 0:1.4.6-3.module+el8.9.0+19330+c97ddbdf | RHSA-2026:69924 |
| Red Hat | enterprise_linux:8::appstream | pg_repack, pg_repack-debuginfo, pg_repack-debugsource | 0:1.4.8-1.module+el8.9.0+19797+c4ce5969 | RHSA-2026:69923 |
| Red Hat | enterprise_linux:8::appstream | pg_repack, pg_repack-debuginfo, pg_repack-debugsource | 0:1.5.1-1.module+el8.10.0+22551+c0330dc9 | RHSA-2026:69876 |
| Red Hat | enterprise_linux:8::appstream | pgaudit, pgaudit-debuginfo, pgaudit-debugsource | 0:1.4.0-7.module+el8.10.0+22214+9beb89d6 | RHSA-2026:69924 |
| Red Hat | enterprise_linux:8::appstream | pgaudit, pgaudit-debuginfo, pgaudit-debugsource | 0:1.7.0-1.module+el8.9.0+19797+c4ce5969 | RHSA-2026:69923 |
| Red Hat | enterprise_linux:8::appstream | pgaudit, pgaudit-debuginfo, pgaudit-debugsource | 0:16.0-1.module+el8.10.0+20413+d8116364 | RHSA-2026:69876 |
| Red Hat | enterprise_linux:8::appstream | postgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource | 0:0.10.0-2.module+el8.9.0+19330+c97ddbdf | RHSA-2026:69924 |
| Red Hat | enterprise_linux:8::appstream | postgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource | 0:1.9.7-1.Final.module+el8.9.0+19797+c4ce5969 | RHSA-2026:69923 |
| Red Hat | enterprise_linux:8::appstream | postgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource | 0:2.4.0-1.Final.module+el8.10.0+20413+d8116364 | RHSA-2026:69876 |
| Red Hat | enterprise_linux:8::appstream | postgresql, postgresql-docs, postgresql-test and 25 more | 0:15.19-1.module+el8.10.0+24831+9c841e4e | RHSA-2026:69923 |
| Red Hat | enterprise_linux:8::appstream | postgresql, postgresql-docs, postgresql-test and 25 more | 0:16.15-1.module+el8.10.0+24863+d1dc0d60 | RHSA-2026:69876 |
| Red Hat | enterprise_linux:8::appstream | postgresql, postgresql-docs, postgresql-test and 22 more | 0:12.22-10.module+el8.10.0+24893+321f112b | RHSA-2026:69924 |
| 62 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 more | postgresql15 | 15.19-150200.5.62.1 | SUSE-SU-2026:4018-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 more | postgresql16 | 16.15-150200.5.49.1 | SUSE-SU-2026:3943-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 more | postgresql17 | 17.11-150200.5.33.1 | SUSE-SU-2026:4013-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 more | postgresql18 | 18.6-150200.5.17.1 | SUSE-SU-2026:4015-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 3 more | postgresql14 | 14.24-150200.5.77.1 | SUSE-SU-2026:3941-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Module for Server Applications 15 SP7 and 2 more | postgresql17 | 17.11-150600.13.32.1 | SUSE-SU-2026:4016-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Module for Server Applications 15 SP7 and 2 more | postgresql18 | 18.6-150600.13.16.1 | SUSE-SU-2026:4014-1 |
| SUSE | Linux Enterprise Module for Legacy 15 SP7, Linux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Module for Server Applications 15 SP7 and 2 more | postgresql16 | 16.15-150600.16.38.1 | SUSE-SU-2026:3963-1 |
| SUSE | Linux Enterprise Module for Legacy 15 SP7, Linux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Server 15 SP6-LTSS and 1 more | postgresql14 | 14.24-150600.16.36.1 | SUSE-SU-2026:3944-1 |
| SUSE | Linux Enterprise Module for Legacy 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6 | postgresql15 | 15.19-150600.16.36.1 | SUSE-SU-2026:4017-1 |
| SUSE | Linux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5 | postgresql14 | 14.24-3.75.1 | SUSE-SU-2026:3793-1 |
| SUSE | Linux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5 | postgresql15 | 15.19-3.61.1 | SUSE-SU-2026:3940-1 |
| 7 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 16.0 | postgresql14 | 14.24-160000.1.1 | openSUSE-SU-2026:21699-1 |
| openSUSE | Leap 16.0 | postgresql15 | 15.19-160000.1.1 | openSUSE-SU-2026:21700-1 |
| openSUSE | Leap 16.0 | postgresql16 | 16.15-160000.1.1 | openSUSE-SU-2026:21701-1 |
| openSUSE | Leap 16.0 | postgresql17 | 17.11-160000.1.1 | openSUSE-SU-2026:21702-1 |
| openSUSE | Leap 16.0 | postgresql18, postgresql18-mini | 18.6-160000.1.1 | openSUSE-SU-2026:21703-1 |
| openSUSE | Tumbleweed | postgresql14 | 14.24-1.1 | openSUSE-SU-2026:11552-1 |
| openSUSE | Tumbleweed | postgresql15 | 15.19-1.1 | openSUSE-SU-2026:11553-1 |
| openSUSE | Tumbleweed | postgresql16 | 16.15-1.1 | openSUSE-SU-2026:11554-1 |
| openSUSE | Tumbleweed | postgresql17 | 17.11-1.1 | openSUSE-SU-2026:11555-1 |
| openSUSE | Tumbleweed | postgresql18 | 18.6-1.1 | openSUSE-SU-2026:11565-1 |
| AlmaLinux | 8 | pg_repack | 1.4.6-3.module_el8.9.0+3704+f1f917ce | ALSA-2026:69924 |
| AlmaLinux | 8 | pg_repack | 1.4.8-1.module_el8.9.0+3706+885c732e | ALSA-2026:69923 |
| AlmaLinux | 8 | pg_repack | 1.5.1-1.module_el8.10.0+4125+ceaf7d1b | ALSA-2026:69876 |
| AlmaLinux | 8 | pg_repack | 1.5.1-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:69876 |
| AlmaLinux | 8 | pg_repack | 1.5.1-1.module_el8.10.0+4286+3c445f53 | ALSA-2026:69876 |
| AlmaLinux | 8 | pgaudit | 1.4.0-7.module_el8.10.0+3889+48cb11fb.alma.1 | ALSA-2026:69924 |
| AlmaLinux | 8 | pgaudit | 1.4.0-7.module_el8.9.0+3740+0e74851f.alma.1 | ALSA-2026:69924 |
| AlmaLinux | 8 | pgaudit | 1.7.0-1.module_el8.9.0+3706+885c732e | ALSA-2026:69923 |
| AlmaLinux | 8 | pgaudit | 16.0-1.module_el8.10.0+3798+606ebb9f | ALSA-2026:69876 |
| AlmaLinux | 8 | postgres-decoderbufs | 0.10.0-2.module_el8.9.0+3704+f1f917ce | ALSA-2026:69924 |
| AlmaLinux | 8 | postgres-decoderbufs | 1.9.7-1.Final.module_el8.9.0+3706+885c732e | ALSA-2026:69923 |
| AlmaLinux | 8 | postgres-decoderbufs | 2.4.0-1.Final.module_el8.10.0+3798+606ebb9f | ALSA-2026:69876 |
| 22 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | pg_repack | 0:1.4.6-3.module+el8.10.0+1862+29bef648 | RLSA-2026:69924 |
| Rocky Linux | 8 | pg_repack | 0:1.4.6-3.module+el8.10.0+40055+b85d5ce2 | RLSA-2026:69924 |
| Rocky Linux | 8 | pg_repack | 0:1.4.6-3.module+el8.9.0+1594+4a6adae9 | RLSA-2026:69924 |
| Rocky Linux | 8 | pg_repack | 0:1.4.6-3.module+el8.9.0+1603+444d1b54 | RLSA-2026:69924 |
| Rocky Linux | 8 | pg_repack | 0:1.4.8-1.module+el8.10.0+1622+bd25b19c | RLSA-2026:69923 |
| Rocky Linux | 8 | pg_repack | 0:1.4.8-1.module+el8.10.0+1858+fcc46a79 | RLSA-2026:69923 |
| Rocky Linux | 8 | pg_repack | 0:1.4.8-1.module+el8.10.0+40056+df351139 | RLSA-2026:69923 |
| Rocky Linux | 8 | pg_repack | 0:1.4.8-1.module+el8.9.0+1525+fc91df60 | RLSA-2026:69923 |
| Rocky Linux | 8 | pg_repack | 0:1.5.1-1.module+el8.10.0+1900+d7340343 | RLSA-2026:69876 |
| Rocky Linux | 8 | pg_repack | 0:1.5.1-1.module+el8.10.0+40057+c37a0e3d | RLSA-2026:69876 |
| Rocky Linux | 8 | pgaudit | 0:1.4.0-7.module+el8.9.0+1735+a332307b | RLSA-2026:69924 |
| Rocky Linux | 8 | pgaudit | 0:1.7.0-1.module+el8.10.0+40056+df351139 | RLSA-2026:69923 |
| 36 more for Rocky Linux in the JSON. | ||||
| Alpine | v3.21, v3.22 | postgresql15 | 15.19-r0 | ALPINE-CVE-2026-16239 |
| Alpine | v3.21, v3.22, v3.23 and 1 more | postgresql16 | 16.15-r0 | ALPINE-CVE-2026-16239 |
| Alpine | v3.21, v3.22, v3.23 and 1 more | postgresql17 | 17.11-r0 | ALPINE-CVE-2026-16239 |
| Alpine | v3.23, v3.24 | postgresql18 | 18.5-r0 | ALPINE-CVE-2026-16239 |
| Azure Linux | 3 | postgresql | 16.15-1 | AZL-95717 |
| Alpaquita | 23 | postgresql15 | 15.20-r0 | BELL-CVE-2026-16239 |
| Alpaquita | 25 | postgresql17 | 17.11-r0 | BELL-CVE-2026-16239 |
| Alpaquita | stream | postgresql18 | 18.6-r0 | BELL-CVE-2026-16239 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.
Red Hat rates this Important.
This is an Important vulnerability in PostgreSQL. A type confusion flaw in the cursor lifecycle allows a low-privileged authenticated database user to execute arbitrary code as the operating system user running the database. This can lead to a complete compromise of the database system, making it a significant risk in typical Red Hat deployments where PostgreSQL instances are exposed to authenticated users.
To mitigate this vulnerability, restrict direct database access strictly to trusted roles and minimize multi-tenant database scenarios where untrusted users can execute arbitrary SQL. Monitor database audit logs for anomalous or high-frequency cursor lifecycle activities involving unexpected CLOSE and DECLARE operations.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | postgresql18-0:18.6-1.el10_2 | Fixed 2026-09-14 | RHSA-2026:67280 |
| Red Hat Enterprise Linux 10 | postgresql16-0:16.15-1.el10_2 | Fixed 2026-09-22 | RHSA-2026:70186 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | postgresql16-0:16.15-1.el10_0 | Fixed 2026-09-28 | RHSA-2026:72282 |
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | postgresql-0:9.2.24-9.el7_9.7 | Fixed 2026-10-19 | RHSA-2026:84585 |
| Red Hat Enterprise Linux 8 | postgresql:16-8100020260910192321.489197e6 | Fixed 2026-09-22 | RHSA-2026:69876 |
| Red Hat Enterprise Linux 8 | postgresql:15-8100020260906175012.489197e6 | Fixed 2026-09-22 | RHSA-2026:69923 |
| Red Hat Enterprise Linux 8 | postgresql:12-8100020260917081510.489197e6 | Fixed 2026-09-23 | RHSA-2026:69924 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | postgresql:12-8040020260924163759.522a0ee4 | Fixed 2026-09-30 | RHSA-2026:73912 |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | postgresql:12-8040020260924163759.522a0ee4 | Fixed 2026-09-30 | RHSA-2026:73912 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | postgresql:12-8060020260923144955.ad008a3a | Fixed 2026-09-28 | RHSA-2026:72363 |
| Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On | postgresql:12-8060020260923144955.ad008a3a | Fixed 2026-09-28 | RHSA-2026:72363 |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | postgresql:15-8080020260921162003.63b34585 | Fixed 2026-09-23 | RHSA-2026:70602 |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | postgresql:12-8080020260923144922.63b34585 | Fixed 2026-09-28 | RHSA-2026:72362 |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | postgresql:15-8080020260921162003.63b34585 | Fixed 2026-09-23 | RHSA-2026:70602 |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | postgresql:12-8080020260923144922.63b34585 | Fixed 2026-09-28 | RHSA-2026:72362 |
| Red Hat Enterprise Linux 9 | postgresql:16-9080020260907191505.rhel9 | Fixed 2026-09-15 | RHSA-2026:67491 |
| Red Hat Enterprise Linux 9 | postgresql:18-9080020260914093252.rhel9 | Fixed 2026-09-16 | RHSA-2026:67848 |
| Red Hat Enterprise Linux 6 | postgresql | Out of support scope | |
| Red Hat Hardened Images | postgresql17 | Not affected | |
| Red Hat Hardened Images | postgresql18 | Not affected | |
| 12 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-16239.