Integer wraparound in multiple PostgreSQL libpq client library functions allows an application input provider or network peer to cause libpq to undersize an allocation and write out-of-bounds by hundreds of megabytes. This results in a segmentation fault for the application using libpq. Versions before PostgreSQL 18.1, 17.7, 16.11, 15.15, 14.20, and 13.23 are affected.
| Affected Version | Fixed In | Fix Published |
|---|---|---|
| 18 | 18.1 | 2025-11-13 |
| 17 | 17.7 | 2025-11-13 |
| 16 | 16.11 | 2025-11-13 |
| 15 | 15.15 | 2025-11-13 |
| 14 | 14.20 | 2025-11-13 |
| 13 | 13.23 | 2025-11-13 |
For more information about PostgreSQL versioning, please visit the versioning page.
| Overall Score | 5.9 |
|---|---|
| Component | core server |
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
If you wish to report a new security vulnerability in PostgreSQL, please send an email to security@postgresql.org.
For reporting non-security bugs, please see the Report a Bug page.