CVE-2026-120142
Last modified
CVE-2026-120142 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. Type confusion in PostgreSQL anonymous RECORD types allows an object creator to execute arbitrary code as the operating system user running the database, via row types having dropped attributes in the same positions but with different widths or alignments. Within major versions 17-18, minor versions before PostgreSQL 18.7 and 17.12 are affected.
Description
Type confusion in PostgreSQL anonymous RECORD types allows an object creator to execute arbitrary code as the operating system user running the database, via row types having dropped attributes in the same positions but with different widths or alignments. Within major versions 17-18, minor versions before PostgreSQL 18.7 and 17.12 are affected. Versions before PostgreSQL 17 are unaffected.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| — | PostgreSQL | >= 18, < 18.7; >= 17, < 17.12 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-120142?
How severe is CVE-2026-120142?
How do I fix CVE-2026-120142?
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-12012Use after free in Network in Google Chrome prior to 149.0.78…8.1
- CVE-2026-12013Rejected reason: Determined not a vulnerability
- CVE-2026-120135Uncontrolled Recursion vulnerability in Apache Thrift Java b…8.2
- CVE-2026-120139Integer wraparound in PostgreSQL in-memory tuple-size calcul…8.8
- CVE-2026-12014Use after free in Cast in Google Chrome prior to 149.0.7827.…8.3
- CVE-2026-120141Type confusion in PostgreSQL materialized set-returning func…8.8
- CVE-2026-120143Use after free in PostgreSQL trigger functions allows an obj…8.8
- CVE-2026-120144Type confusion from incomplete PostgreSQL type-cache invalid…8.8
- CVE-2026-120145Missing authorization in PostgreSQL logical replication allo…8.8
- CVE-2026-120146Missing authorization in PostgreSQL REASSIGN OWNED allows a …4.3
- CVE-2026-120147Use after free in the PostgreSQL dblink extension allows an …8.8
- CVE-2026-120148Type confusion in PostgreSQL extended statistics allows an o…8.1
Are you affected by CVE-2026-120142?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
