home / blog

2026-11-23 · high

CVE-2026-14662: Critical PostgreSQL vulnerability enables code execution

CVE-2026-14662: Critical PostgreSQL vulnerability enables code execution via buffer overflow in tsvector/tsquery.

CVE-2026-14662: Critical PostgreSQL vulnerability enables code execution

CVE-2026-14662 is a critical vulnerability in PostgreSQL that exploits an integer wraparound in tsvector and tsquery data type functions. An unprivileged user can cause a buffer overflow allowing out-of-bounds memory writes, potentially executing arbitrary code as the OS user running the database.

The vulnerability has a CVSS score of 8.8, classified as 'high'. It was published on August 13, 2026, and has been patched in recent versions. Recently, on November 23, 2026, public exploits were reported on GitHub, confirming the exploitability of this vulnerability. A similar vulnerability (CVE-2026-6473) had been previously fixed.

To protect against this vulnerability, administrators should immediately update PostgreSQL instances to patched versions: 18.6, 17.11, 16.15, 15.19, or 14.24. If immediate update isn't possible, implement strict access controls limiting access to tsvector and tsquery data types. Monitor for suspicious activities that might attempt to exploit this vulnerability.

At a glance

What
Buffer overflow in PostgreSQL tsvector and tsquery data types
Severity
High (CVSS 8.8)
Affected versions
Before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24
Fix
Update to PostgreSQL 18.6, 17.11, 16.15, 15.19, or 14.24
Status
Confirmed and patched
Action
Update PostgreSQL instances immediately

Sources: NVD, CVE-2026-14662

← All articles