CVE-2026-14664

PostgreSQL regexp heap buffer overflow executes arbitrary code

State
Published
Severity
8.8 High
Published
Aug 13, 2026
Updated
Aug 29, 2026
Reserved
Jul 3, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HPostgreSQL

Weaknesses

Affected Products

ProductVersions
PostgreSQLn/a
  • 18 to before 18.6Affected
  • 17 to before 17.11Affected
  • 16 to before 16.15Affected
  • 15 to before 15.19Affected
  • before 14.24Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.