PostgreSQL · published 2026-11-12
CVE-2026-120142PostgreSQL dropped-column type confusion executes arbitrary code
Routine No exploitation evidence; EPSS 0.6%.
CVE-2026-120142 is not known to be exploited in the wild. EPSS estimates a 0.6% chance of exploitation in the next 30 days, higher than 49% of all CVEs. This PostgreSQL vulnerability: CVSS 8.8 (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 | Not affected | |
| 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.6% (49th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 8.8 (v3.1)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | 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)
Description (from the CVE record)#
Type confusion in PostgreSQL anonymous RECORD types allows an object creator to execute arbitrary code as the operating system user running the database, via row types having dropped attributes in the same positions but with different widths or alignments. Within major versions 17-18, minor versions before PostgreSQL 18.7 and 17.12 are affected. Versions before PostgreSQL 17 are unaffected.
Quoted from the CVE Program record.