PostgreSQL generation memory context integer wraparound executes arbitrary code
- State
- Published
- Severity
- 8.8 High
- Published
- Nov 12, 2026
- Updated
- Nov 14, 2026
- Reserved
- Oct 26, 2026
Description
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.
| Product | Versions |
|---|---|
| PostgreSQL n/a | 18 to before 18.7 Affected17 to before 17.12 Affected16 to before 16.16 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 8.8 High | PostgreSQL |
Weaknesses
- CWE-190 Integer Overflow or Wraparound
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.