AZL-113738: CVE-2026-116331 affecting package postgresql 16.15-1
Type confusion in PostgreSQL min/max aggregate optimization allows an object creator to execute arbitrary code as the operating system user running the database, via a user-defined aggregate whose SORTOP option causes the planner to treat the aggregate's input and result as the same type when they differ. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
PostgreSQLto a version that resolves this vulnerability.Fixed in 16.16
Event History
Frequently Asked Questions
Who can exploit this vulnerability?
An attacker needs the ability to create a user-defined aggregate. The issue can then allow that object creator to execute arbitrary code as the operating system user running the database.
Which PostgreSQL releases are affected?
PostgreSQL versions before 18.7, 17.12, 16.16, 15.20, and 14.25 are affected. The listed package version, 16.15-1, falls below the fixed 16.16 release.