Vulnerability Report

CVE-2026-116331

RCE

Title: Type confusion in min/max aggregate optimization

RCE

Proof Of Concept

PoC Available for CVE-2026-116331

CWE Category CWE-843
Published Date Nov 12, 2026
Modified Date Nov 13, 2026
Exploit Status Available
Score 8.8 CVSS v3.1
Exploit Probability (EPSS)
0.59%

Vulnerability Summary

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.

Impacted Vendors

Analysis in Progress...

Reference Links

CVSS v3.1
Source Entity f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Severity HIGH
8.8
Attack Vector
NETWORK
Complexity
LOW
Privileges
N/A
Interaction
NONE
Confidentiality
N/A
Integrity
N/A
Availability
N/A
Scope
UNCHANGED
RAW VECTOR CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Associated Attack Patterns (CAPEC)

Total: Patterns

CVE-2026-116331 Exploits & PoCs (Proof Of Concept)

GitHub https://github.com/notdenied/CVE-2026-116331-PoC
View Code
MODIFIED

Vulnerability data updated via NVD.

MODIFIED

Vulnerability data updated via NVD.

MODIFIED

Vulnerability data updated via NVD.

MODIFIED

Vulnerability data updated via NVD.

Attack Vector Matrix

Access Vector NETWORK
Complexity LOW
Privileges N/A
Interaction NONE
CVSS Vector String CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected Stack

No specific products linked.