CVE-2026-120142

published 12 Nov 2026 · updated 21 Nov 2026

PostgreSQL dropped-column type confusion executes arbitrary code

8.8HighCVSS 8.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 17.12 and 18.7.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
>=17 <17.12, >=18 <18.717.12, 18.7

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-120142 severity on Zeptric[![CVE-2026-120142](https://zeptric.io/badge/cve/CVE-2026-120142.svg)](https://zeptric.io/cve/CVE-2026-120142)