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 SO…
- CVSS
- 8.8High
- Chance of exploitation (EPSS)
- 0.74%
- Published
- Nov 12, 2026
- In the news
- Not yet
What to do
A serious security flaw that can be attacked over the network by someone with an account. Exploit code is public, so patch it soon.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Description
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 products
Get alerts for these →No product list yet. It usually appears within a few days of publication.
Timeline 14
Latest change: Nessus plugin 393444: AlmaLinux 8 : postgresql:15 (ALSA-2026:105232) (Dec 3, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Fri, Dec 4, 2026
Tue, Dec 1, 2026
- DetectionNessus plugin 390159: RockyLinux 9 : postgresql:15 (RLSA-2026:105231)Tenable
- DetectionNessus plugin 389797: RockyLinux 9 : postgresql:16 (RLSA-2026:104962)Tenable
- DetectionNessus plugin 389809: RockyLinux 8 : postgresql:15 (RLSA-2026:105232)Tenable
- DetectionNessus plugin 389877: RHEL 8 : postgresql:15 (RHSA-2026:105232)Tenable
- DetectionNessus plugin 389886: RHEL 9 : postgresql:15 (RHSA-2026:105231)Tenable
- DetectionNessus plugin 389900: RHEL 9 : postgresql:16 (RHSA-2026:104962)Tenable
- DetectionNessus plugin 390158: RockyLinux 10 : postgresql18 (RLSA-2026:104831)Tenable
Mon, Nov 30, 2026
- DetectionNessus plugin 388829: RHEL 10 : postgresql18 (RHSA-2026:104831)Tenable
Mon, Nov 16, 2026
- Exploit codenotdenied/CVE-2026-116331-PoC: PostgreSQL CVE-2026-116331 PoC and calibration profiles for 484 vulnerable image tags.GitHub (unverified) · 13:45 UTC
Sat, Nov 14, 2026
Fri, Nov 13, 2026
Thu, Nov 12, 2026
- CVECVE-2026-116331 published (CVSS 8.8)CVE Program · 15:17 UTC
Exploit code
Visit at your own risk. These are third-party sites we find automatically. We do not test, review or vouch for them, and fake proof-of-concept repositories sometimes contain malware.
- notdenied/CVE-2026-116331-PoC: PostgreSQL CVE-2026-116331 PoC and calibration profiles for 484 vulnerable image tags.
GitHub, unverified · found Nov 16, 2026
References 1
- www.postgresql.org /support/security/CVE-2026-116331/