| Name | CVE-2026-116316 |
| Description | Improper protection of alternate path in PostgreSQL security-restricted operations allows an object creator to execute arbitrary SQL as the operation's caller, via a domain, enum, or range type created in pg_temp. The victim session must later run a query containing an unqualified type name, e.g. "SELECT '1'::bigint"; autovacuum and other common security-restricted operation users do not do so, so they are unaffected. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4905-1, DSA-6625-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| postgresql-15 (PTS) | bookworm | 15.18-0+deb12u1 | vulnerable |
| bookworm (security) | 15.20-0+deb12u1 | fixed | |
| postgresql-17 (PTS) | trixie (security), trixie | 17.12-0+deb13u1 | fixed |
| postgresql-18 (PTS) | forky, sid | 18.7-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| postgresql-15 | source | bookworm | 15.20-0+deb12u1 | DLA-4905-1 | ||
| postgresql-15 | source | (unstable) | (unfixed) | |||
| postgresql-17 | source | trixie | 17.12-0+deb13u1 | DSA-6625-1 | ||
| postgresql-17 | source | (unstable) | (unfixed) | |||
| postgresql-18 | source | (unstable) | 18.7-1 |
https://www.postgresql.org/about/news/postgresql-187-1712-1616-1520-1425-and-19-rc-2-released-3442/