Heap-based Buffer Overflow Vulnerability in PostgreSQL Database Software
CVE-2026-116315
8.8HIGH
What is CVE-2026-116315?
A heap-based buffer overflow vulnerability exists in PostgreSQL's tsvector_delete() function. This issue allows database users to execute arbitrary code under the operating system user's privileges, potentially compromising the system. The vulnerability is triggered when a nonstandard ordering of lexeme data requires additional alignment padding in the output. Affected versions include PostgreSQL 18.6 and earlier, 17.11, 16.15, 15.19, and 14.24. It is crucial for users to upgrade to the latest versions to mitigate this security risk.
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 Anthropic OSS program for reporting this problem.