← CVE Intelligence

CVE-2025-12818

PostgreSQL libpq undersizes allocations, via integer wraparound PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
n/a / PostgreSQLaffected 18 before 18.1; affected 17 before 17.7; affected 16 before 16.11; affected 15 before 15.15; affected 14 before 14.20; affected 0 before 13.23

CWE

CWE-190

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.