Home

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.

PUBLISHED Reserved 2025-11-06 | Published 2025-11-13 | Updated 2025-11-13 | Assigner PostgreSQL




MEDIUM: 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Problem types

Integer Overflow or Wraparound

Credits

The PostgreSQL project thanks Aleksey Solovev (Positive Technologies) for reporting this problem.

References

www.postgresql.org/support/security/CVE-2025-12818/

cve.org (CVE-2025-12818)

nvd.nist.gov (CVE-2025-12818)

Download JSON