CVE-2026-116317

High

Description

Heap-based buffer overflow in PostgreSQL ts_rank_cd() may allow a database user to execute arbitrary code as the operating system user running the database, via an invalid tsvector containing duplicate positions. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

SeverityHigh
CVSS8.8
Exploit probability—
ProductPostgreSQL
PublishedNov 12, 2026
First seenNov 12, 2026
Weakness typeCWE-122CWE-122

How to fix

Update
  • PostgreSQL18.7, 17.12, 16.16, 15.20, 14.25 or later

Affected products

ProductAffected versionsFixed in
PostgreSQL18 ≤ v < 18.7, 17 ≤ v < 17.12, 16 ≤ v < 16.16, 15 ≤ v < 15.20, v < 14.2518.7, 17.12, 16.16, 15.20, 14.25

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.