CVE-2026-2006
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| postgresql | errata.rockylinux.org | 0: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-pltcl | Amazon Linux | 15.16-1.amzn2023.0.1 |
| postgresql-test-debuginfo | errata.rockylinux.org | 0: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-macros | errata.rockylinux.org | 0: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-debuginfo | errata.rockylinux.org | 18.3-1.el10.ppc64le |
| postgresql18-plperl | errata.rockylinux.org | 18.3-1.el10.x86, 18.3-1.el10.s390x |
| postgresql-docs | errata.rockylinux.org | 0: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-pltcl | Amazon Linux | 16.12-1.amzn2023.0.1 |
| pgaudit-debugsource | errata.rockylinux.org | 0: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-debuginfo | errata.rockylinux.org | 0: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 |
| postgresql16 | Alpine | 16.13-r0, 16.12-r0 |
| postgresql-pltcl | errata.rockylinux.org | 16.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
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | PostgreSQL | 18, 17, 16 |
| Red Hat | Red Hat Enterprise Linux 8.8 Telecommunications Update Service | 8080020260302123049.63b34585 |
| Red Hat | Red Hat Enterprise Linux 9.6 Extended Update Support | 0:13.23-1.el9_6.1 |
| Red Hat | Red Hat Enterprise Linux 9.6 Extended Update Support | 9060020260305153549.rhel9 |
| Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support | 9040020260306102041.rhel9 |
| Red Hat | Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | 0:13.23-1.el9_2.1 |
| Red Hat | Red Hat Enterprise Linux 10 | 0:18.3-1.el10_2 |
| Red Hat | Red Hat Hardened Images | 18.3-1.2.hum1 |
| Red Hat | Red Hat Enterprise Linux 10.0 Extended Update Support | 0:16.13-1.el10_0 |
| Red Hat | Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | 8060020260309111524.ad008a3a |
| Red Hat | Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | 8060020260306113941.ad008a3a |
| Red Hat | Red Hat Enterprise Linux 8 | 8100020260227221401.489197e6 |
| Red Hat | Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | 8080020260302123049.63b34585 |
| Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support | 0:13.23-1.el9_4.1 |
| Red Hat | Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | 8080020260306092921.63b34585 |
| Red Hat | Red Hat Enterprise Linux 9 | 9070020260227094950.rhel9 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:13.23-2.el9_7 |
| Red Hat | Red Hat Enterprise Linux 8 | 8100020260227221316.489197e6 |
| Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support | 9040020260305163703.rhel9 |
| Red Hat | Red Hat Enterprise Linux 9.6 Extended Update Support | 9060020260309125703.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
References
- https://access.redhat.com/security/cve/CVE-2026-2006 vdb
- RHBZ#2439324 issue
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-2006.json url
- https://access.redhat.com/errata/RHSA-2026:4441 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:3887 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:19010 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:19009 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:4064 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:4024 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:4059 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:4063 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:4506 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:4509 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:4504 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:4505 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:4516 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:4075 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:4074 vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:4515 vendor-advisory
…and 14 more