CVE-2026-2006

published 12 Feb 2026 · updated 15 Jul 2026

PostgreSQL missing validation of multibyte character length executes arbitrary code

8.8HighCVSS 8.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 14.21, 15.16, 16.12 and 2 more.

Missing validation of multibyte character length in PostgreSQL text manipulation allows a database user to issue crafted queries that achieve a buffer overrun. That suffices to execute arbitrary code as the operating system user running the database. Versions before PostgreSQL 18.2, 17.8, 16.12, 15.16, and 14.21 are affected.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<14.21, >=15 <15.16, >=16 <16.12, >=17 <17.8, >=18 <18.214.21, 15.16, 16.12, 17.8, 18.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-2006 severity on Zeptric[![CVE-2026-2006](https://zeptric.io/badge/cve/CVE-2026-2006.svg)](https://zeptric.io/cve/CVE-2026-2006)