5.9
Medium
CVE-2025-12818 Integer wraparound in multiple PostgreSQL libpq client library functions allows an application input provider or network…
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.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| postgresql 18 | 18 → < 18.1 | 18.1 |
| postgresql 17 | 17 → < 17.7 | 17.7 |
| postgresql 16 | 16 → < 16.11 | 16.11 |
| postgresql 15 | 15 → < 15.15 | 15.15 |
| postgresql 14 | 14 → < 14.20 | 14.20 |
| postgresql 13.23 | earliest → < 13.23 | 13.23 |
References
- www.postgresql.org www.postgresql.org
Timeline
- Published
- Last modified
Other CVEs of postgresql
The 79 CVEs of postgresql →
CVE-2026-6471
Missing authorization in PostgreSQL logical decoding allows a non-superuser holding REPLICATION privilege to dlopen…
7.2
High
CVE-2026-14671
Type confusion in PostgreSQL module "refint" allows an object creator to execute arbitrary code as the operating…
8.8
High
CVE-2026-6470
Missing authorization in PostgreSQL DDL commands allows an object creator to achieve denial of service against ALTER and…
4.3
Medium
CVE-2026-6464
Untrusted data inclusion in PostgreSQL psql COPY may allow a server administrator to elicit execution of data lines as…
8.1
High