CVE Catalog

CVE-2026-14664

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.44%

36th percentile - higher than 36% of all known CVEs

Summary

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.

Risk Assessment

A user who can craft queries with regular expressions can take over the database server, potentially leading to full system compromise.

Recommendation

Update PostgreSQL to the latest patched version. Restrict access to regexp functions for untrusted users.

Other vulnerabilities in PostgreSQL

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS