VDB

CVE-2026-2006

CVE-2026-2006 PUBLISHED CVSS 8.8 HIGH

PostgreSQL missing validation of multibyte character length executes arbitrary code

Reported by postgresql · Published February 12, 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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
postgresqlerrata.rockylinux.org0:16.13-1.module+el9.7.0+40102+9b5cec96.src, 0:16.13-1.module+el9.7.0+40102+9b5cec96.s390x, 0:16.13-1.module+el9.7.0+40102+9b5cec96.aarch64, 0:16.13-1.module+el8.10.0+40101+1be82829.src, 0:16.13-1.module+el8.10.0+40101+1be82829.aarch64, 0:15.17-1.module+el9.7.0+40097+c6c51561.src, 0:15.17-1.module+el9.7.0+40097+c6c51561.s390x, 0:15.17-1.module+el9.7.0+40097+c6c51561.aarch64, 0:15.17-1.module+el8.10.0+40100+bfc24177.src, 0:15.17-1.module+el8.10.0+40100+bfc24177.aarch64, 0:13.23-2.module+el8.10.0+40099+4f03416d.src, 0:13.23-2.module+el8.10.0+40099+4f03416d.aarch64, 0:13.23-2.el9_7.src, 0:13.23-2.el9_7.s390x, 0:13.23-2.el9_7.aarch64, 0:12.22-6.module+el8.10.0+40098+2ca729e4.src, 0:12.22-6.module+el8.10.0+40098+2ca729e4.aarch64
postgresql15-pltclAmazon Linux15.16-1.amzn2023.0.1
postgresql-test-debuginfoerrata.rockylinux.org0:16.13-1.module+el8.10.0+40101+1be82829.x86_64, 0:16.13-1.module+el8.10.0+40101+1be82829.aarch64, 0:15.17-1.module+el8.10.0+40100+bfc24177.x86_64, 0:15.17-1.module+el8.10.0+40100+bfc24177.aarch64, 0:13.23-2.module+el8.10.0+40099+4f03416d.x86_64, 0:13.23-2.module+el8.10.0+40099+4f03416d.aarch64, 0:12.22-6.module+el8.10.0+40098+2ca729e4.x86_64, 0:12.22-6.module+el8.10.0+40098+2ca729e4.aarch64
postgresql-test-rpm-macroserrata.rockylinux.org0:16.13-1.module+el9.7.0+40102+9b5cec96.noarch, 0:15.17-1.module+el9.7.0+40097+c6c51561.noarch, 0:13.23-2.el9_7.noarch
postgresql18-docs-debuginfoerrata.rockylinux.org18.3-1.el10.ppc64le
postgresql18-plperlerrata.rockylinux.org18.3-1.el10.x86, 18.3-1.el10.s390x
postgresql-docserrata.rockylinux.org0:16.13-1.module+el8.10.0+40101+1be82829.aarch64, 0:15.17-1.module+el8.10.0+40100+bfc24177.aarch64, 0:13.23-2.module+el8.10.0+40099+4f03416d.aarch64, 0:12.22-6.module+el8.10.0+40098+2ca729e4.aarch64
postgresql16-pltclAmazon Linux16.12-1.amzn2023.0.1
pgaudit-debugsourceerrata.rockylinux.org0:16.0-1.module+el9.7.0+40060+39463e08.ppc64le, 0:16.0-1.module+el9.7.0+40012+a654bbaa.ppc64le, 0:1.7.0-1.module+el9.7.0+40011+28af63c9.ppc64le
postgresql-plperl-debuginfoerrata.rockylinux.org0:16.13-1.module+el8.10.0+40101+1be82829.x86_64, 0:16.13-1.module+el8.10.0+40101+1be82829.aarch64, 0:15.17-1.module+el8.10.0+40100+bfc24177.x86_64, 0:15.17-1.module+el8.10.0+40100+bfc24177.aarch64, 0:13.23-2.module+el8.10.0+40099+4f03416d.x86_64, 0:13.23-2.module+el8.10.0+40099+4f03416d.aarch64, 0:12.22-6.module+el8.10.0+40098+2ca729e4.x86_64, 0:12.22-6.module+el8.10.0+40098+2ca729e4.aarch64
postgresql16Alpine16.13-r0, 16.12-r0
postgresql-pltclerrata.rockylinux.org16.13-1.el10, 0:16.13-1.module+el9.7.0+40102+9b5cec96.ppc64le, 0:16.13-1.el10_1.x86_64, 0:15.17-1.module+el9.7.0+40097+c6c51561.ppc64le, 0:13.23-2.el9_7.ppc64le

45 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
n/aPostgreSQL18, 17, 16
Red HatRed Hat Enterprise Linux 8.8 Telecommunications Update Service8080020260302123049.63b34585
Red HatRed Hat Enterprise Linux 9.6 Extended Update Support0:13.23-1.el9_6.1
Red HatRed Hat Enterprise Linux 9.6 Extended Update Support9060020260305153549.rhel9
Red HatRed Hat Enterprise Linux 9.4 Extended Update Support9040020260306102041.rhel9
Red HatRed Hat Enterprise Linux 9.2 Update Services for SAP Solutions0:13.23-1.el9_2.1
Red HatRed Hat Enterprise Linux 100:18.3-1.el10_2
Red HatRed Hat Hardened Images18.3-1.2.hum1
Red HatRed Hat Enterprise Linux 10.0 Extended Update Support0:16.13-1.el10_0
Red HatRed Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support8060020260309111524.ad008a3a
Red HatRed Hat Enterprise Linux 8.6 Update Services for SAP Solutions8060020260306113941.ad008a3a
Red HatRed Hat Enterprise Linux 88100020260227221401.489197e6
Red HatRed Hat Enterprise Linux 8.8 Update Services for SAP Solutions8080020260302123049.63b34585
Red HatRed Hat Enterprise Linux 9.4 Extended Update Support0:13.23-1.el9_4.1
Red HatRed Hat Enterprise Linux 8.8 Update Services for SAP Solutions8080020260306092921.63b34585
Red HatRed Hat Enterprise Linux 99070020260227094950.rhel9
Red HatRed Hat Enterprise Linux 90:13.23-2.el9_7
Red HatRed Hat Enterprise Linux 88100020260227221316.489197e6
Red HatRed Hat Enterprise Linux 9.4 Extended Update Support9040020260305163703.rhel9
Red HatRed Hat Enterprise Linux 9.6 Extended Update Support9060020260309125703.rhel9

…and 22 more

Timeline

  • Feb 12, 2026 CVE Published
  • Feb 12, 2026 PoC Published (17 in total, the first dated here)
  • Feb 13, 2026 EPSS Score (30 in total, the first dated here)
  • Mar 25, 2026 Coalition ESS Score (2 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (41 in total, the first dated here)
  • Apr 8, 2026 Security Advisory (38 in total, the first dated here)
  • Jul 15, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-2006
vulnetix vdb fixes CVE-2026-2006

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-2006/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›