{"id":"CVE-2026-116312","published":"2026-11-12T14:15:06Z","modified":"2026-11-17T17:14:43Z","title":"PostgreSQL MERGE can place the wrong row in a trigger transition table","vendor":null,"product":null,"tier":"tail","description":{"text":"Inconsistent transition-capture state in PostgreSQL MERGE allows a table data modifier to make an AFTER trigger process the wrong new row, via a partitioned table MERGE that performs an INSERT before an UPDATE.  Within major versions 15-18, minor versions before PostgreSQL 18.7, 17.12, 16.16, and 15.20 are affected.  Versions before PostgreSQL 15 are unaffected.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00208,"percentile":0.10912,"provenance":"source"},"cwes":[{"id":"CWE-1250","name":"Improper Preservation of Consistency Between Independent Representations of Shared State"}],"references":[{"url":"https://www.postgresql.org/support/security/CVE-2026-116312/","tags":[]}],"priority":{"score":6.0,"factors":[{"name":"EPSS percentile","points":2.18},{"name":"CVSS severity","points":3.78}]},"affectedVersions":[{"vendor":"n/a","product":"PostgreSQL","versions":[">= 18, < 18.7",">= 17, < 17.12",">= 16, < 16.16",">= 15, < 15.20"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-17T17:07:58.003871Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-124492","exploited":false,"provenance":"source"}}