CVE-2026-120142

PostgreSQL dropped-column type confusion executes arbitrary code

High published · updated

8.8
CVSS score out of 10 · NVD (f86ef6dc-4d3a-42ad-8f28-e6d5547a5007)

Description

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 products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
postgresql n/a 18 → <18.7; 17 → <17.1217.12 CVE.org

References