PostgreSQL: Heap-based buffer overflow in ts_rank_cd (CVE-2026-116317)
A heap-based buffer overflow in the PostgreSQL ts_rank_cd() function allows a database user to execute arbitrary code as the operating system user running the database via an invalid tsvector containing duplicate positions.
CVE search metadata
CVE search record: CVE-2026-116317. Severity: high. CVSS: 8.8. KEV: no. Product: PostgreSQL. Brief: PostgreSQL: Heap-based buffer overflow in ts_rank_cd (CVE-2026-116317). Brief link: https://feed.craftedsignal.io/briefs/2026-11-postgresql-heap-buffer-overflow-cve-2026-116317/
Triage facts
Revision 1- Applicability
- PostgreSQL
- Evidence
- Unknown
- Severity
- High
- Sources
- 1 public source
- Freshness
- Revision 1Nov 12, 16:52 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A2Roughly even chance
PostgreSQL is vulnerable to a heap-based buffer overflow within the ts_rank_cd() function. An attacker can exploit this vulnerability by providing an invalid tsvector containing duplicate positions. Successful exploitation allows the attacker to execute arbitrary code as the operating system user running the database.