CVE Catalog

CVE-2026-120142

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.52%

46th percentile - higher than 46% of all known CVEs

Summary

Type confusion in PostgreSQL anonymous RECORD types allows an object creator to execute arbitrary code as the operating system user running the database. Exploitation occurs via row types having dropped attributes in the same positions but with different widths or alignments. Within major versions 17-18, minor versions before 18.7 and 17.12 are affected; versions before 17 are unaffected.

Risk Assessment

An authenticated user able to create objects can cause code execution with the privileges of the PostgreSQL system account. The risk applies to PostgreSQL deployments in major versions 17 and 18.

Recommendation

Update PostgreSQL to version 18.7 or 17.12 (or later within the respective branch). Deployments older than version 17 require no action for this vulnerability.

Other vulnerabilities in PostgreSQL

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS