CVE-2025-12818
Public on 2025-11-13
Modified on 2025-11-14
Description
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.
Severity
See what this means
CVSS v3 Base Score
See breakdown
Affected Packages
| Platform | Package | Release Date | Advisory | Status |
|---|---|---|---|---|
| Amazon Linux 2 - Postgresql14 Extra | libpq | Pending Fix | ||
| Amazon Linux 2023 | libpq | Pending Fix | ||
| Amazon Linux 2 - Core | postgresql | Pending Fix | ||
| Amazon Linux 2 - Postgresql14 Extra | postgresql | Pending Fix | ||
| Amazon Linux 2023 | postgresql15 | Pending Fix | ||
| Amazon Linux 2023 | postgresql16 | Pending Fix | ||
| Amazon Linux 2023 | postgresql17 | Pending Fix |
CVSS Scores
| Score Type | Score | Vector | |
|---|---|---|---|
| Amazon Linux | CVSSv3 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |