CVE-2026-120150 PostgreSQL expanded-record domain-check use-after-free executes arbitrary code

High 8.8 Published Updated

An object creator can trigger a use-after-free in PostgreSQL expanded-record domain checks to execute code as the database OS user.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Harmful if only installed
No
Needs a specific call
No
Fix
Available

What is CVE-2026-120150?

CVE-2026-120150 is a high-severity use after free vulnerability in PostgreSQL, published on 12 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Use after free in PostgreSQL expanded-record domain checks allows an object creator to execute arbitrary code as the operating system user running the database, via repeated checks of a domain over a composite type that cause reuse of a dangling memory-context pointer. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

Weakness: CWE-416

Which versions are affected by CVE-2026-120150?

An affected version is exposed as installed. No special setting or call is needed.

How do I fix CVE-2026-120150?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2026-120150 being exploited?

There is no known exploitation of CVE-2026-120150 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2026-120150, DEBIAN-CVE-2026-120150, ECHO-1764-fbd8-09da, GHSA-vwp2-2ffq-7j23.

Is CVE-2026-120150 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free