CVE-2026-2006

EUVD-2026-6186
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
8.8 HIGH
NETWORK
LOW
LOW
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
PostgreSQLCNA
8.8 HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 21%
Affected Products (NVD)
VendorProductVersion
postgresqlpostgresql
14.0 ≤
𝑥
< 14.21
postgresqlpostgresql
15.0 ≤
𝑥
< 15.16
postgresqlpostgresql
16.0 ≤
𝑥
< 16.12
postgresqlpostgresql
17.0 ≤
𝑥
< 17.8
postgresqlpostgresql
18.0 ≤
𝑥
< 18.2
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
postgresql-13
bullseye
vulnerable
bullseye (security)
vulnerable
postgresql-15
bookworm
vulnerable
bookworm (security)
15.16-0+deb12u1
fixed
postgresql-17
trixie
vulnerable
trixie (security)
17.8-0+deb13u1
fixed
postgresql-18
forky
18.2-1
fixed
sid
18.2-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
postgresql-18
jammy
dne
noble
dne
questing
dne
postgresql-17
jammy
dne
noble
dne
questing
needs-triage
postgresql-16
jammy
dne
noble
needs-triage
questing
dne
postgresql-14
jammy
needs-triage
noble
dne
questing
dne
postgresql-12
focal
needs-triage
jammy
dne
noble
dne
questing
dne
postgresql-10
bionic
needs-triage
jammy
dne
noble
dne
questing
dne
postgresql-9.5
jammy
dne
noble
dne
questing
dne
xenial
needs-triage
postgresql-9.3
jammy
dne
noble
dne
questing
dne
trusty
deferred