Skip to content
CVE PROGRAM SOURCE RECORD8.8 High

CVE-2026-2006

PostgreSQL missing validation of multibyte character length executes arbitrary code

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

n/a PostgreSQL

Default version status: unaffected

  • 18 to < 18.2affected
  • 17 to < 17.8affected
  • 16 to < 16.12affected
  • 15 to < 15.16affected
  • 0 to < 14.21affected

References