PostgreSQL · published 2026-11-12
CVE-2026-120148PostgreSQL extended-statistics pseudo-type confusion executes arbitrary code
Routine No exploitation evidence; EPSS 0.5%.
CVE-2026-120148 is not known to be exploited in the wild. EPSS estimates a 0.5% chance of exploitation in the next 30 days, higher than 42% of all CVEs. This PostgreSQL vulnerability: CVSS 8.1 (v3.1), a successful attack gives total control of the component. Fixed upstream in PostgreSQL 18.7, 17.12, 16.16, 15.20 (+1 more); patched packages are out for Debian; Ubuntu and Red Hat Enterprise Linux still have unfixed releases. Routine: patch when convenient.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
Fixed upstream in PostgreSQL 18.7, 17.12, 16.16, 15.20, 14.25.
Linux distribution packages
If you run the distro’s package rather than an upstream build, this is the version to look for.
| Distro | Release | Package | Status |
|---|---|---|---|
| Debian | 13 trixie | postgresql-17 | Fixed in 17.12-0+deb13u1 |
| 12 bookworm | postgresql-15 | Fixed in 15.20-0+deb12u1 | |
| Ubuntu | 26.04 LTS | postgresql-18 | No fix yet |
| 24.04 LTS | postgresql-16 | No fix yet | |
| 22.04 LTS | postgresql-14 | No fix yet | |
| 20.04 LTS | postgresql-12 | No fix yet | |
| Red Hat Enterprise Linux | RHEL 10 | postgresql16 | No fix yet |
| RHEL 10 | postgresql18 | No fix yet | |
| RHEL 10 | postgresql19 | Not affected | |
| RHEL 9 | postgresql | No fix yet | |
| RHEL 8 | postgresql | No fix yet | |
| RHEL 7 | postgresql | No fix yet | |
| RHEL 6 | postgresql | Won’t fix |
From the Debian Security Tracker, Ubuntu security notices (CC BY-SA 4.0) and Red Hat Security Data (CC BY 4.0). Check the distro link before acting.
Patch events
DatabasePostgreSQL
PostgreSQL security releases: 18.7, 17.12, 16.16, 15.20, 14.25
Upgrade to
18.717.1216.1615.2014.25Why: Vendor security release for server software (most severe: CVE-2026-116326).
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | No | CISA KEV |
| Ransomware use | — | CISA KEV |
| EPSS (30-day exploitation probability) | 0.5% (43th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 8.1 (v3.1)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | CNA / CISA ADP |
| SSVC exploitation | none | CISA Vulnrichment |
| SSVC automatable | No | CISA Vulnrichment |
| SSVC technical impact | total | CISA Vulnrichment |
Affected versions (from the CVE record)#
- PostgreSQL
18to before18.7(affected)17to before17.12(affected)16to before16.16(affected)15to before15.20(affected)0to before14.25(affected)
Description (from the CVE record)#
Type confusion in PostgreSQL extended statistics allows an object creator to execute arbitrary code as the operating system user running the database, via a statistics expression of an anonymous RECORD type whose backend-local type identifier denotes a different row type in another session. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
Quoted from the CVE Program record.