Improper Null Termination in PostgreSQL - CVE-2026-116321

 

Improper Null Termination in PostgreSQL - CVE-2026-116321

Published: November 12, 2026


Vulnerability identifier: #VU166115
CSH Severity: Low
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-116321
CWE-ID: CWE-170
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to disclose server memory.

The vulnerability exists due to improper null termination in PostgreSQL array element assignment when modifying fixed-length name values. A remote user can change the final byte of a name value to a nonzero byte and pass it to code that treats it as a C string to disclose server memory.


Affected software

PostgreSQL

How to mitigate CVE-2026-116321

Install security update from vendor's website.

PostgreSQL - addressed in versions 14.25, 15.20, 16.16, 17.12, 18.7

External References

Related Security Bulletins