Integer Wraparound Vulnerability in PostgreSQL Database Functions
CVE-2026-14662

8.8HIGH

Key Information:

Vendor

PostgreSQL

Vendor
CVE Published:
13 August 2026

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

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 Yuhang Wu, Zhenpeng Lin, Zheng Yu, and Hcamael for reporting this problem.
.