CVE-2026-2006
PostgreSQL missing validation of multibyte character length executes arbitrary code
Published:
2/12/2026
Last updated:
2/13/2026
Reserved:
2/5/2026
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.
CNA assigner:
PostgreSQL (f86ef6dc-4d3a-42ad-8f28-e6d5547a5007)
Requested by:
n/a
Products affected (1)
| Product |
Vendor |
Version |
| PostgreSQL |
n/a
|
1008D-1003D-1004D-1002D
|
Credits (1)
-
The PostgreSQL project thanks Paul Gerste and Moritz Sanft, as part of zeroday.cloud, for reporting this problem.