CVE-2026-116328: PostgreSQL generation memory context integer wraparound executes arbitrary code
CVE-2026-116328 affects 36 listed versions of PostgreSQL in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
PostgreSQL
36 of 250 listed versions are affected. Fixed in 18.7, 17.12, 16.16. The newest release, 19.0, is not affected.
18.6 18.5 18.4 18.3 18.2 18.1 18.0 17.11 17.10 17.9 17.8 17.7 17.6 17.5 17.4 17.3 17.2 17.1 17.0 17.0-rc1 16.15 16.14 16.13 16.12 16.11 16.10 16.9 16.8 16.7 16.6 16.5 16.4 16.3 16.2 16.1 16.0
What it is
Integer wraparound in PostgreSQL generation memory contexts allows a database user to execute arbitrary code as the operating system user running the database, via freeing an allocation larger than 1 GB and causing its block to be reused for smaller chunks whose back-pointer offset cannot represent that position. Within major versions 16-18, minor versions before PostgreSQL 18.7, 17.12, and 16.16 are affected. Versions before PostgreSQL 16 are unaffected.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (PostgreSQL)
Published by PostgreSQL on 12 November 2026. Last changed 14 November 2026.
Sources
Check one version you run: look CVE-2026-116328 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.