CVE-2026-116312
published medium CVSS 3.1 · 5.4PostgreSQL MERGE can place the wrong row in a trigger transition table
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | PostgreSQL18 to < 18.7 · 17 to < 17.12 · 16 to < 16.16 · 15 to < 15.20 · Other versions: unaffected | Affected | Not stated | PostgreSQL |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3482 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3485 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3486 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | postgresql17 | Fixed | 17.12-r0 | Package fix record |
| Debian | bookworm | postgresql-15 | Advisory build | 15.20-0+deb12u1 | DLA-4905-1 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3487 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | libecpg6aarch64 | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| Alpine Linux | edge | postgresql18 | Fixed | 18.7-r0 | Package fix record |
| Alpine Linux | v3.21 | postgresql15 | Fixed | 15.20-r0 | Package fix record |
| Alpine Linux | v3.21 | postgresql16 | Fixed | 16.16-r0 | Package fix record |
| Alpine Linux | v3.21 | postgresql17 | Fixed | 17.12-r0 | Package fix record |
| Alpine Linux | v3.22 | postgresql15 | Fixed | 15.20-r0 | Package fix record |
| Alpine Linux | v3.22 | postgresql16 | Fixed | 16.16-r0 | Package fix record |
| Alpine Linux | v3.22 | postgresql17 | Fixed | 17.12-r0 | Package fix record |
| Alpine Linux | v3.23 | postgresql16 | Fixed | 16.16-r0 | Package fix record |
| Alpine Linux | v3.23 | postgresql17 | Fixed | 17.12-r0 | Package fix record |
| Alpine Linux | v3.23 | postgresql18 | Fixed | 18.7-r0 | Package fix record |
| Alpine Linux | v3.24 | postgresql16 | Fixed | 16.16-r0 | Package fix record |
| Alpine Linux | v3.24 | postgresql17 | Fixed | 17.12-r0 | Package fix record |
| Alpine Linux | v3.24 | postgresql18 | Fixed | 18.7-r0 | Package fix record |
| Debian | trixie | postgresql-17 | Advisory build | 17.12-0+deb13u1 | DSA-6625-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libecpg6ppc64le | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libecpg6s390x | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libecpg6x86_64 | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libecpg6-32bitaarch64 | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libecpg6-32bitppc64le | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libecpg6-32bits390x | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libecpg6-32bitx86_64 | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpq5aarch64 | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpq5ppc64le | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpq5s390x | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpq5x86_64 | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpq5-32bitaarch64 | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpq5-32bitppc64le | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpq5-32bits390x | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libpq5-32bitx86_64 | Advisory build | 19.0-1.1 | OPENSUSE-SU-2026:12655-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15aarch64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15ppc64le | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15s390x | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15x86_64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-contribaarch64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-contribppc64le | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-contribs390x | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-contribx86_64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-develaarch64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-develppc64le | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-devels390x | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-develx86_64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-docsaarch64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-docsppc64le | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-docss390x | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-docsx86_64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-llvmjitaarch64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-llvmjitppc64le | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-llvmjits390x | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-llvmjitx86_64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-llvmjit-develaarch64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-llvmjit-develppc64le | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-llvmjit-devels390x | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-llvmjit-develx86_64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-plperlaarch64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-plperlppc64le | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-plperls390x | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-plperlx86_64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-plpythonaarch64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-plpythonppc64le | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-plpythons390x | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-plpythonx86_64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-pltclaarch64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-pltclppc64le | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-pltcls390x | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-pltclx86_64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-serveraarch64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-serverppc64le | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-servers390x | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-serverx86_64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-server-develaarch64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-server-develppc64le | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-server-devels390x | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-server-develx86_64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-testaarch64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-testppc64le | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-tests390x | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql15-testx86_64 | Advisory build | 15.20-1.1 | OPENSUSE-SU-2026:12551-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql16aarch64 | Advisory build | 16.16-1.1 | OPENSUSE-SU-2026:12552-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql16ppc64le | Advisory build | 16.16-1.1 | OPENSUSE-SU-2026:12552-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql16s390x | Advisory build | 16.16-1.1 | OPENSUSE-SU-2026:12552-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql16x86_64 | Advisory build | 16.16-1.1 | OPENSUSE-SU-2026:12552-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql16-contribaarch64 | Advisory build | 16.16-1.1 | OPENSUSE-SU-2026:12552-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql16-contribppc64le | Advisory build | 16.16-1.1 | OPENSUSE-SU-2026:12552-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql16-contribs390x | Advisory build | 16.16-1.1 | OPENSUSE-SU-2026:12552-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql16-contribx86_64 | Advisory build | 16.16-1.1 | OPENSUSE-SU-2026:12552-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql16-develaarch64 | Advisory build | 16.16-1.1 | OPENSUSE-SU-2026:12552-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql16-develppc64le | Advisory build | 16.16-1.1 | OPENSUSE-SU-2026:12552-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql16-devels390x | Advisory build | 16.16-1.1 | OPENSUSE-SU-2026:12552-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql16-develx86_64 | Advisory build | 16.16-1.1 | OPENSUSE-SU-2026:12552-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql16-docsaarch64 | Advisory build | 16.16-1.1 | OPENSUSE-SU-2026:12552-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql16-docsppc64le | Advisory build | 16.16-1.1 | OPENSUSE-SU-2026:12552-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql16-docss390x | Advisory build | 16.16-1.1 | OPENSUSE-SU-2026:12552-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql16-docsx86_64 | Advisory build | 16.16-1.1 | OPENSUSE-SU-2026:12552-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql16-llvmjitaarch64 | Advisory build | 16.16-1.1 | OPENSUSE-SU-2026:12552-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql16-llvmjitppc64le | Advisory build | 16.16-1.1 | OPENSUSE-SU-2026:12552-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql16-llvmjits390x | Advisory build | 16.16-1.1 | OPENSUSE-SU-2026:12552-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql16-llvmjitx86_64 | Advisory build | 16.16-1.1 | OPENSUSE-SU-2026:12552-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- PostgreSQL · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | PostgreSQL | 18 to < 18.7 (affected · rpm)17 to < 17.12 (affected · rpm)16 to < 16.16 (affected · rpm)15 to < 15.20 (affected · rpm)Default: unaffected | PostgreSQL · cna |
Weaknesses
1- CWE-1250 Improper Preservation of Consistency Between Independent Representations of Shared State
References
1Provider assertions
2PostgreSQL · cna
PostgreSQL MERGE can place the wrong row in a trigger transition table
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 31b6f9a4f415eef38e9f3a17d53f625c1a005adaa807808b231c76e00514d4bb
- Ingested
- 17 Nov 2026, 17:21:57 UTC
- Source record
- Official CVE record