↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

CVE-2026-2006

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.

Version Information

Affected branchIntroducedFixed InFix Published
14—14.212026-02-12
15—15.162026-02-12
16—16.122026-02-12
17—17.82026-02-12
18—18.22026-02-12

CVSS 3.0

Overall Score8.8
Componentcore server
VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

First published: 2026-02-12

Historical source observations

These dated records preserve the original source claims separately from the reviewed fix list.

center · 2026-10-03 12:08:35.169032+08

  • PostgreSQL 18 · Original minor coordinate: 2
  • PostgreSQL 17 · Original minor coordinate: 8
  • PostgreSQL 16 · Original minor coordinate: 12
  • PostgreSQL 15 · Original minor coordinate: 16
  • PostgreSQL 14 · Original minor coordinate: 21

pgweb · 2026-10-03 12:08:55.967155+08

  • PostgreSQL 18 · Original minor coordinate: 2
  • PostgreSQL 17 · Original minor coordinate: 8
  • PostgreSQL 16 · Original minor coordinate: 12
  • PostgreSQL 15 · Original minor coordinate: 16
  • PostgreSQL 14 · Original minor coordinate: 21

Original security advisory · JSON · All advisories