PoC Monitor
← All CVEs
CVE-2026-116331published 12 Nov 2026 14:15 UTCData: JSON · API

PostgreSQL

PostgreSQL min/max aggregate type confusion executes arbitrary code

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.

First public PoC 4 daysafter publication · 16 Nov 2026
Public PoCs11 on GitHub
CVSS8.8high · scored by CNA · CWE-843
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

n/a PostgreSQL
  • >= 18, < 18.7
  • >= 17, < 17.12
  • >= 16, < 16.16
  • >= 15, < 15.20
  • < 14.25

Fixed in 18.7, 17.12, 16.16, 15.20, 14.25

Mitigation

Upgrade PostgreSQL to 18.7 or 17.12 or 16.16 or 15.20 or 14.25 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published12 Nov 2026 · t = 0First public PoC16 Nov 2026 · t+4d

First public PoC 4 days after publication; not in CISA KEV. First PoC: notdenied/CVE-2026-116331-PoC (created 16 Nov 2026, found by us: 16 Nov 2026).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedFound by usStarsAssessment
notdenied/CVE-2026-116331-PoC 16 Nov 2026 +4 d 16 Nov 2026 0 PoC via PoC Index

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.