Skip to content
OpenAdvisories

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.

Affected products

VendorProductAffectedFixed
— PostgreSQL 18 – < 18.7, 17 – < 17.12 18.7

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 postgresql-18 No fix yet —
Debian 13 postgresql-17 17.12-0+deb13u1 —
Debian 12 postgresql-15 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 postgresql-18 No fix yet —
Ubuntu 26.04 LTS postgresql-18 No fix yet —
Ubuntu 24.04 LTS postgresql-16 No fix yet —
Ubuntu 22.04 LTS postgresql-14 No fix yet —
Ubuntu 20.04 LTS postgresql-12 No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS postgresql-10 No fix yet —
Ubuntu Pro 16.04 LTS postgresql-9.5 No fix yet —
Ubuntu Pro 14.04 LTS postgresql-9.3 No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed postgresql17 17.12-1.1 openSUSE-SU-2026:12553-1
ReleasePackageFixed inAdvisory
Alpine v3.24 postgresql16 16.16-r0 —
Alpine v3.24 postgresql17 17.12-r0 —
Alpine v3.24 postgresql18 18.7-r0 —
Alpine v3.23 postgresql16 16.16-r0 —
Alpine v3.23 postgresql17 17.12-r0 —
Alpine v3.23 postgresql18 18.7-r0 —
Alpine v3.22 postgresql15 15.20-r0 —
Alpine v3.22 postgresql16 16.16-r0 —
Alpine v3.22 postgresql17 17.12-r0 —
Alpine v3.21 postgresql15 15.20-r0 —
Alpine v3.21 postgresql16 16.16-r0 —
Alpine v3.21 postgresql17 17.12-r0 —

Advisories 2

References