CVE
CVE-2026-14664
CNA description
Heap buffer overflow in PostgreSQL regexp allows the query author to execute arbitrary code as the operating system user running the database, via text that would not pass encoding validation. This shares heritage with CVE-2026-2006, but this case involved unanticipated data growth when round-tripped through pg_wchar. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.
Affected versions
All PostgreSQL vulnerabilities →
- ≥ 18.0, < 18.5Fixed in 18.5
- ≥ 17.0, < 17.11Fixed in 17.11
- ≥ 16.0, < 16.15Fixed in 16.15
- ≥ 15.0, < 15.19Fixed in 15.19
- ≥ 14.0, < 14.24Fixed in 14.24
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- www.postgresql.org/support/security/CVE-2026-14664/ · Vendor Advisory
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.