CVE-2026-116335: PostgreSQL commutator or negator result-type confusion executes arbitrary code
Type confusion in PostgreSQL operator commutator and negator links allows an object creator to execute arbitrary code as the operating system user running the database, via linking operators having different result types or creating inconsistent reciprocal links. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
PostgreSQL 18to a version that resolves this vulnerability.Fixed in 18.7 - Upgrade
Upgrade
PostgreSQL 17to a version that resolves this vulnerability.Fixed in 17.12 - Upgrade
Upgrade
PostgreSQL 16to a version that resolves this vulnerability.Fixed in 16.16 - Upgrade
Upgrade
PostgreSQL 15to a version that resolves this vulnerability.Fixed in 15.20 - Upgrade
Upgrade
PostgreSQL 14to a version that resolves this vulnerability.Fixed in 14.25
Event History
Frequently Asked Questions
Who can exploit this vulnerability?
An attacker needs privileges to create database objects. The issue can then allow arbitrary code execution as the operating system user running PostgreSQL.
Which PostgreSQL versions need updates?
Affected versions are those before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25. Upgrade to the applicable listed release or later.
Is remote exploitation possible without authentication?
No. The supplied vector indicates network reachability but requires low privileges (PR:L); no user interaction is required.