Skip to content
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

Timeline

  1. Published
  2. Last modified
The 79 CVEs of postgresql →
Track this CVE