Type Confusion in PostgreSQL SQL-Language Functions
CVE-2026-18447
8.8HIGH
What is CVE-2026-18447?
A type confusion vulnerability exists in PostgreSQL's SQL-language functions, enabling an object creator to execute arbitrary code as the operating system user that runs the database. This flaw arises when an output parameter is handled as type 'any', allowing for potentially malicious exploitation. Affected versions include those prior to 18.7, 17.12, 16.16, 15.20, and 14.25. Users are encouraged to update their installations promptly to mitigate risks.
Affected Version(s)
PostgreSQL 18 < 18.7
PostgreSQL 17 < 17.12
PostgreSQL 16 < 16.16
References
CVSS V3.1
Score:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged
Timeline
Vulnerability published
Vulnerability Reserved
Credit
The PostgreSQL project thanks Stephan Lipp for reporting this problem.