CVE-2026-120142
JSON

8.8high

PostgreSQL dropped-column type confusion executes arbitrary code

Severity
8.8high CVSS:3.1 by PostgreSQL
Exploit likelihood
0.52% (higher than 45% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
PostgreSQL
Also known as
BIT-POSTGRESQL-2026-120142

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

Product or packageVersionsReported by
PostgreSQLfrom 18 before 18.7, from 17 before 17.12CVE List
postgresql (Bitnami)from 17.0.0 before 17.12.0, from 18.0.0 before 18.7.0Bitnami Vulnerability Database

All scores

PostgreSQL8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-843

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-120142 changed 2026-11-13CVE Terms of Use
NVDCVE-2026-120142 changed 2026-11-13Public domain
Bitnami Vulnerability DatabaseBIT-POSTGRESQL-2026-120142 changed 2026-11-27Apache-2.0