CVE-2026-116331

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.
Configurations

No configuration.

History

12 Nov 2026, 15:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-12 15:17

Updated : 2026-11-13 05:18


NVD link : CVE-2026-116331

Mitre link : CVE-2026-116331

CVE.ORG link : CVE-2026-116331


JSON object : View

Products Affected

No product.

CWE
CWE-843

Access of Resource Using Incompatible Type ('Type Confusion')