Skip to content
Medium 5.4

PostgreSQL MERGE can place the wrong row in a trigger transition table

CVE-2026-116312 First seen on SecPulse

Affected packages

PackageAffected → Fixed
CVE の記録PostgreSQL
≥ 18, < 18.7→ 18.7
≥ 17, < 17.12→ 17.12
≥ 16, < 16.16→ 16.16
≥ 15, < 15.20→ 15.20
Bitnamipostgresql
≥ 15.0.0, < 15.20.0→ 15.20.0
≥ 16.0.0, < 16.16.0→ 16.16.0
≥ 17.0.0, < 17.12.0→ 17.12.0
≥ 18.0.0, < 18.7.0→ 18.7.0

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details