CVE-2026-120142: PostgreSQL dropped-column type confusion executes arbitrary code

CVE-2026-120142 affects 20 listed versions of PostgreSQL in the Dawnsentry catalogue.

8.8CVSS high
None knownexploitation
under 1%EPSS (next 30 days)
12 November 2026published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

PostgreSQL

20 of 250 listed versions are affected. Fixed in 18.7, 17.12. The newest release, 19.0, is not affected.

18.6 18.5 18.4 18.3 18.2 18.1 18.0 17.11 17.10 17.9 17.8 17.7 17.6 17.5 17.4 17.3 17.2 17.1 17.0 17.0-rc1

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (PostgreSQL)

Published by PostgreSQL on 12 November 2026. Last changed 13 November 2026.

Sources

Check one version you run: look CVE-2026-120142 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.