CVE-2025-12818
Last modified
CVE-2025-12818 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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. EPSS estimates a 0.30% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-12818?
How severe is CVE-2025-12818?
How do I fix CVE-2025-12818?
Are you affected by CVE-2025-12818?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
