Integer overflow in PostgreSQL - CVE-2026-116328

 

Integer overflow in PostgreSQL - CVE-2026-116328

Published: November 12, 2026


Vulnerability identifier: #VU166109
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-116328
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 as the operating system user running the database.

The vulnerability exists due to integer wraparound in PostgreSQL generation memory contexts when reusing a freed allocation larger than 1 GB for smaller chunks whose back-pointer offset cannot represent their position within the block. A remote user can trigger this allocation and reuse sequence to execute arbitrary code as the operating system user running the database.


Affected software

PostgreSQL

How to mitigate CVE-2026-116328

Install security update from vendor's website.

PostgreSQL - addressed in versions 16.16, 17.12, 18.7

External References

Related Security Bulletins