Advisory

DEBIAN-CVE-2026-116312

Also known as: CVE-2026-116312

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 5.4, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Dates

Published
2026-11-12 15:17 UTC
Modified
2026-11-16 11:00 UTC

Affected packages and fixes

postgresql-15

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 15.20-0+deb12u1 (ecosystem)

Fixed versions

15.20-0+deb12u1

Fix

  • Fixed version 15.20-0+deb12u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

postgresql-17

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 17.12-0+deb13u1 (ecosystem)

Fixed versions

17.12-0+deb13u1

Fix

  • Fixed version 17.12-0+deb13u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

postgresql-18

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 18.7-1 (ecosystem)

Fixed versions

18.7-1

Fix

  • Fixed version 18.7-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences