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.
15.2016.1617.1218.715.2016.1617.1218.715.2016.1617.1218.715.2016.1617.1218.715.2016.1617.1218.715.2016.1617.1218.7Exploitability
AV:NAC:LPR:LUI:NScope
S:UImpact
C:LI:LA:N5.4/CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NOther