CVE-2026-116331
Last modified
CVE-2026-116331 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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..
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| — | PostgreSQL | >= 18, < 18.7; >= 17, < 17.12; >= 16, < 16.16; >= 15, < 15.20; < 14.25 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-116331?
How severe is CVE-2026-116331?
How do I fix CVE-2026-116331?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-116326Uncaught exceptions in PostgreSQL plperl allow an object cre…8.8
- CVE-2026-116327Exposure of sensitive information in PostgreSQL security_bar…4.3
- CVE-2026-116328Integer wraparound in PostgreSQL generation memory contexts …8.8
- CVE-2026-116329Type confusion in PostgreSQL statistics import allows a tabl…8.8
- CVE-2026-11633Use after free in Bluetooth in Google Chrome on Mac prior to…8.8
- CVE-2026-116330Untrusted data inclusion in PostgreSQL pg_dump tar-format re…8.8
- CVE-2026-116332Use after free in PostgreSQL portal setup allows an object c…8.8
- CVE-2026-116333Buffer over-read in PostgreSQL parallel B-tree scans allows …6.5
- CVE-2026-116335Type confusion in PostgreSQL operator commutator and negator…8.8
- CVE-2026-116336Operation on a dropped index in PostgreSQL REINDEX CONCURREN…8.8
- CVE-2026-116337Uncontrolled resource consumption vulnerability in the Qt Fr…0.6
- CVE-2026-116339A vulnerability was determined in iFlytek astron-agent up to…7.3
Are you affected by CVE-2026-116331?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
