PostgreSQL · published 2026-11-12

CVE-2026-116312PostgreSQL MERGE can place the wrong row in a trigger transition table

Routine No exploitation evidence; EPSS 0.3%.

CVE-2026-116312 is not known to be exploited in the wild. EPSS estimates a 0.3% chance of exploitation in the next 30 days, higher than 16% of all CVEs. This PostgreSQL vulnerability: CVSS 5.4 (v3.1). Fixed upstream in PostgreSQL 18.7, 17.12, 16.16, 15.20 (+1 more); patched packages are out for Debian; Ubuntu and Red Hat Enterprise Linux still have unfixed releases. Routine: patch when convenient.

Share this

Remediation#

Fixed upstream in PostgreSQL 18.7, 17.12, 16.16, 15.20, 14.25.

Linux distribution packages

If you run the distro’s package rather than an upstream build, this is the version to look for.

DistroReleasePackageStatus
Debian13 trixiepostgresql-17Fixed in 17.12-0+deb13u1
12 bookwormpostgresql-15Fixed in 15.20-0+deb12u1
Ubuntu26.04 LTSpostgresql-18No fix yet
24.04 LTSpostgresql-16No fix yet
22.04 LTSpostgresql-14No fix yet
20.04 LTSpostgresql-12No fix yet
Red Hat Enterprise LinuxRHEL 10postgresql16No fix yet
RHEL 10postgresql18No fix yet
RHEL 10postgresql19Not affected
RHEL 9postgresqlNo fix yet
RHEL 8postgresqlNo fix yet
RHEL 7postgresqlNo fix yet
RHEL 6postgresqlWon’t fix

From the Debian Security Tracker, Ubuntu security notices (CC BY-SA 4.0) and Red Hat Security Data (CC BY 4.0). Check the distro link before acting.

Patch events

  1. This monthSecurity release

    DatabasePostgreSQL

    PostgreSQL security releases: 18.7, 17.12, 16.16, 15.20, 14.25

    Upgrade to 18.717.1216.1615.2014.25

    Why: Vendor security release for server software (most severe: CVE-2026-116326).

Exploit intelligence#

SignalValueSource
Known exploitedNoCISA KEV
Ransomware use—CISA KEV
EPSS (30-day exploitation probability)0.3% (17th pct)FIRST EPSS v2026.06.15
CVSS base score5.4 (v3.1)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
CNA / CISA ADP
SSVC exploitationnoneCISA Vulnrichment
SSVC automatableNoCISA Vulnrichment
SSVC technical impactpartialCISA Vulnrichment

Affected versions (from the CVE record)#

Description (from the CVE record)#

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.

Quoted from the CVE Program record.

Elsewhere#

Distro status: Debian · Ubuntu · Red Hat · Alpine

Something wrong on this page?
Anonymous. Reports are checked against the primary source.

Also on today's list

See today's list → · Coming up →