Integer overflow in PostgreSQL - CVE-2026-14662

 

Integer overflow in PostgreSQL - CVE-2026-14662

Published: August 15, 2026


Vulnerability identifier: #VU142642
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-14662
CWE-ID: CWE-190
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 integer overflow in tsvector and tsquery data type functions when processing crafted large inputs. A remote user can supply crafted large inputs to cause an undersized allocation and write out-of-bounds to execute arbitrary code.

This may execute code as the operating system user running the database.


Affected software

PostgreSQL
Debian Linux
postgresql-17 (Debian package)

How to mitigate CVE-2026-14662

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