CVE-2026-120150: PostgreSQL Expanded-Record Domain-Check Use-After-Free Code Execution
CVE-2026-120150 is a use-after-free vulnerability in PostgreSQL expanded-record domain-constraint checking. Repeated checks of a domain over a composite type can reuse a dangling memory-context pointer, allowing a database object creator to execute arbitrary code as the operating system user running PostgreSQL. Affected releases are PostgreSQL 18 before 18.7, 17 before 17.12, 16 before 16.16, 15 before 15.20, and 14 before 14.25.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises confidentiality, integrity, and availability through arbitrary code execution under the PostgreSQL operating system account. An attacker can potentially access or modify database data and other resources accessible to that account, or disrupt database service. This does not inherently grant operating system root privileges.
Mitigation
If you can’t patch tonight, do this now.
As an interim risk-reduction measure, restrict database object-creation privileges to trusted roles. This addresses the stated attacker prerequisite but is not a confirmed substitute for upgrading; no vulnerability-specific workaround is established.
Remediation
Patch, then assume compromise.
Upgrade to PostgreSQL 18.7, 17.12, 16.16, 15.20, or 14.25, or a later maintenance release in the applicable branch. Debian 12 PostgreSQL 15 packages are fixed in version 15.20-0+deb12u1. For upstream minor-version updates, stop PostgreSQL, update the binaries, and restart the service; a database dump/reload or pg_upgrade is not required. PostgreSQL 14.25 is the final release of that branch, so deployments should migrate to a supported major version.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Frequently asked questions
- Is CVE-2026-120150 exploited in the wild?
- As of Nov 16, 2026, Mallory has no reports of CVE-2026-120150 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-120150?
- As of Nov 16, 2026, Mallory has found no public exploit for CVE-2026-120150.
- Is there a patch for CVE-2026-120150?
- Upgrade to PostgreSQL 18.7, 17.12, 16.16, 15.20, or 14.25, or a later maintenance release in the applicable branch. Debian 12 PostgreSQL 15 packages are fixed in version 15.20-0+deb12u1.
- How severe is CVE-2026-120150?
- CVE-2026-120150 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 0.58% (48th percentile) as of Nov 16, 2026.
Recent activity
16 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.