CVE-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.
How to fix
- PostgreSQL18.7, 17.12 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| PostgreSQL | 18 ≤ v < 18.7, 17 ≤ v < 17.12 | 18.7, 17.12 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.