CVE 5.9 MEDIUM

PostgreSQL libpq undersizes allocations, via integer wraparound_CVE-2025-12818

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

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.

Basic Information

ID CVE-2025-12818
Source PostgreSQL
Published Nov 13, 2025 at 13:00
Modified Nov 13, 2025 at 13:59

Affected Product

Vendor n/a
Product PostgreSQL
Version 18
Affected Versions n/a PostgreSQL 18
n/a PostgreSQL 17
n/a PostgreSQL 16
n/a PostgreSQL 15
n/a PostgreSQL 14
n/a PostgreSQL 0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.