{"id":"CVE-2026-120142","state":"PUBLISHED","title":"PostgreSQL dropped-column type confusion executes arbitrary code","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.","publishedAt":"2026-11-12T14:15:22.150Z","updatedAt":"2026-11-13T05:02:45.117Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"PostgreSQL"},"assigner":"PostgreSQL","products":["n/a PostgreSQL"],"affected":[{"vendor":"n/a","product":"PostgreSQL","defaultStatus":"unaffected","versions":[{"version":"18","status":"affected","lessThan":"18.7","versionType":"rpm"},{"version":"17","status":"affected","lessThan":"17.12","versionType":"rpm"}]}],"references":["https://www.postgresql.org/support/security/CVE-2026-120142/"],"weaknesses":["CWE-843"],"ingestedAt":"2026-11-13T05:20:06.550Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/120xxx/CVE-2026-120142.json","commit":"68cd701e826810199fa5b4bdbd0ebbdf13037bcc","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-120142","state":"PUBLISHED","datePublished":"2026-11-12T14:15:22.150Z","dateUpdated":"2026-11-13T05:02:45.117Z","assignerShortName":"PostgreSQL","assignerOrgId":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","dateReserved":"2026-10-30T22:45:08.382Z"},"containers":{"cna":{"title":"PostgreSQL dropped-column type confusion executes arbitrary code","descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"PostgreSQL","defaultStatus":"unaffected","versions":[{"version":"18","status":"affected","lessThan":"18.7","versionType":"rpm"},{"version":"17","status":"affected","lessThan":"17.12","versionType":"rpm"}]}],"references":[{"url":"https://www.postgresql.org/support/security/CVE-2026-120142/"}],"metrics":[{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-843","lang":"en","type":"CWE","description":"Access of Resource Using Incompatible Type ('Type Confusion')"}]}],"providerMetadata":{"shortName":"PostgreSQL","orgId":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","dateUpdated":"2026-11-12T14:15:22.150Z"},"x_postgresql":{"component":"core server"},"configurations":[{"lang":"en","value":"attacker has permission to create objects (temporary objects or non-temporary objects in at least one schema)"}],"credits":[{"lang":"en","value":"The PostgreSQL project thanks Peter Geoghegan for reporting this problem."}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-12T00:00:00+00:00","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3","id":"CVE-2026-120142"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-13T05:02:45.117Z"}}]}}}