CVE-2026-120141
Published:November 12, 2026
Updated:November 12, 2026
Type confusion in PostgreSQL materialized set-returning functions allows a database user to execute arbitrary code as the operating system user running the database, via returning rows having different dynamic RECORD return types. json_populate_recordset() is one affected function. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
Affected Packages
https://github.com/postgres/postgres.git (GITHUB):
Affected version(s) >=REL_17_BETA1 <REL_17_12Fix Suggestion:
Update to version REL_17_12https://github.com/postgres/postgres.git (GITHUB):
Affected version(s) >=REL_16_BETA1 <REL_16_16Fix Suggestion:
Update to version REL_16_16https://github.com/postgres/postgres.git (GITHUB):
Affected version(s) >=REL_14_BETA1 <REL_14_25 || >=REL_13_BETA1 <REL_14_25 || >=REL_12_BETA1 <REL_14_25 || >=REL_11_BETA1 <REL_14_25 || >=REL_10_BETA1 <REL_14_25 || >=REL9_6_BETA1 <REL_14_25 || >=REL9_5_ALPHA1 <REL_14_25 || >=REL9_4_BETA1 <REL_14_25 || >=REL9_3_BETA1 <REL_14_25 || >=REL9_2_BETA1 <REL_14_25 || >=REL9_1_ALPHA1 <REL_14_25 || >=REL9_0_ALPHA4 <REL_14_25 || >=REL8_5_ALPHA1 <REL_14_25 || >=REL8_4_RC1 <REL_14_25Fix Suggestion:
Update to version REL_14_25https://github.com/postgres/postgres.git (GITHUB):
Affected version(s) >=REL_15_BETA1 <REL_15_20Fix Suggestion:
Update to version REL_15_20https://github.com/postgres/postgres.git (GITHUB):
Affected version(s) >=REL_18_BETA1 <REL_18_7Fix Suggestion:
Update to version REL_18_7Related Resources (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Access of Resource Using Incompatible Type