Heap-based buffer overflow in PostgreSQL - CVE-2026-14664

 

Heap-based buffer overflow in PostgreSQL - CVE-2026-14664

Published: August 15, 2026


Vulnerability identifier: #VU142640
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-14664
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary code.

The vulnerability exists due to heap-based buffer overflow in PostgreSQL regexp processing when processing text that would not pass encoding validation. A remote user can supply a crafted query containing such text to execute arbitrary code.

Successful exploitation can occur in the context of the operating system user running the database.


Affected software

PostgreSQL
Debian Linux
postgresql-17 (Debian package)

How to mitigate CVE-2026-14664

Install security update from vendor's website.

PostgreSQL - addressed in versions 14.24, 15.19, 16.15, 17.11, 18.5
postgresql-17 (Debian package) - update to 17.11-0+deb13u1

External References

Related Security Bulletins