Integer Wraparound Vulnerability in PostgreSQL Database Functions
CVE-2026-14662
What is CVE-2026-14662?
An integer wraparound vulnerability within the PostgreSQL tsvector and tsquery data type functions allows an unprivileged database user to create large inputs that cause the server to mismanage memory allocation. This misallocation can result in out-of-bounds writes, potentially leading to arbitrary code execution under the privileges of the database's operating system user. The threat typically arises from application logic feeding crafted data into the database. Previous vulnerabilities such as CVE-2026-6473 addressed similar issues, underlining the importance of applying appropriate patches. To mitigate this vulnerability, users should upgrade to PostgreSQL version 18.5 or later.
Affected Version(s)
PostgreSQL 18 < 18.5
PostgreSQL 17 < 17.11
PostgreSQL 16 < 16.15
References
CVSS V3.1
Timeline
Vulnerability published
Vulnerability Reserved