All vulnerabilities

Servers and applications

CVE-2026-120142

PostgreSQL dropped-column type confusion executes arbitrary code

Severity
High 8.8
Published
12 Nov 2026
Last changed
13 Nov 2026
Added to UpHeron
13 Nov 2026
Fixed in
17.12, 18.7
Weakness
CWE-843
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
PostgreSQLServers and applications · cna:n/a|postgresql
  • From 17 before 17.12
  • From 18 before 18.7

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-120142