Use After Free Vulnerability in PostgreSQL Affects Multiple Versions
CVE-2026-120143

8.8HIGH

Key Information:

Vendor

PostgreSQL

Vendor
CVE Published:
12 November 2026

What is CVE-2026-120143?

A use after free vulnerability in PostgreSQL trigger functions can allow a malicious object creator to execute arbitrary code with the privileges of the operating system user running the database. This issue is exploitable via a cursor over a transition table, posing significant risks for database integrity and security. Users are encouraged to upgrade to the patched versions of PostgreSQL to mitigate potential threats.

Affected Version(s)

PostgreSQL 18 < 18.7

PostgreSQL 17 < 17.12

PostgreSQL 16 < 16.16

References

CVSS V3.1

Score:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

The PostgreSQL project thanks Peter Geoghegan for reporting this problem.
.