CVE-2026-2006: PostgreSQL missing validation of multibyte character length executes arbitrary code
Vulnerability summary
CVE-2026-2006 is a high (CVSS 8.8) Improper Validation of Array Index vulnerability in postgresql. EPSS estimates a 1.16% chance of exploitation in the next 30 days, higher than 67.2% of scored vulnerabilities.
Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 61 · Related 31Timeline
- 12-02-2026PublishedVulnerability first disclosed.
- 15-07-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · AlpineEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · WolfiEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.16%
Chance of exploitation in the next 30 days
Percentile
67%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 1.15% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-129Improper Validation of Array IndexThe product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure the index references a valid position within the array.
- CWE-1285Improper Validation of Specified Index, Position, or Offset in InputThe product receives input that is expected to specify an index, position, or offset into an indexable resource such as a buffer or file, but it does not validate or incorrectly validates that the specified index/position/offset has the required properties.
Affected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Suse26 products
- postgresql16&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS< 16.13-150200.5.41.1
- postgresql16&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS< 16.13-150200.5.41.1
- postgresql16&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS< 16.13-150200.5.41.1
- postgresql16&distro=SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS< 16.13-150200.5.41.1
- postgresql16&distro=SUSE Linux Enterprise Server 15 SP4-LTSS< 16.13-150200.5.41.1
Ubuntu7 products
- postgresql-10All versions (No fix recorded)
- postgresql-12All versions (No fix recorded)
- postgresql-14< 14.22-0ubuntu0.22.04.1
- postgresql-16< 16.13-0ubuntu0.24.04.1
- postgresql-17< 17.9-0ubuntu0.25.10.1
Alpine4 products
- postgresql15< 15.17-r0
- postgresql16< 16.13-r0
- postgresql17< 17.9-r0
- postgresql18< 18.2-r0
Debian3 products
- postgresql-15< 15.16-0+deb12u1
- postgresql-17< 17.8-0+deb13u1
- postgresql-18< 18.2-1
Chainguard1 product
- postgresql-13< 13.23-r5
Postgresql1 product
- postgresql≥ 14.0, < 14.21 | ≥ 15.0, < 15.16 | ≥ 16.0, < 16.12 | ≥ 17.0, < 17.8 | ≥ 18.0, < 18.2
Wolfi1 product
- postgresql-13< 13.23-r5
7 vendors · 43 products