High · published May 14, 2026
Integer wraparound in multiple PostgreSQL server features allows an unprivileged database user to cause the server to undersize an allocation and write out-of-bounds. This may execute arbitrary code as the operating system user running the database. In applications that pass gigabyte-scale user inputs to the relevant database functions, the application input provider may achieve a segmentation fault. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.
| Product | Versions | Fixed in |
|---|---|---|
| postgresql/postgresql | < 14.23 | 14.23 |
| postgresql/postgresql | ≥ 15.0, < 15.18 | 15.18 |
| postgresql/postgresql | ≥ 16.0, < 16.14 | 16.14 |
| postgresql/postgresql | ≥ 17.0, < 17.10 | 17.10 |
| postgresql/postgresql | ≥ 18.0, < 18.4 | 18.4 |