CVE-2025-12818

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.

Risk Information

Base Score
5.9
MODERATE
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score
Exploitation Probability
0.074

Associated Vulnerability

VulnerabilityOS Platform
Vulnerabilities CVE-2025-12818,CVE-2025-12817 are fixed in Postgresql 16.1Windows
Vulnerabilities CVE-2025-12818,CVE-2025-12817 are fixed in Postgresql 18.1Windows
Vulnerabilities CVE-2025-12818,CVE-2025-12817 are fixed in Postgresql 17.7Windows
Vulnerabilities CVE-2025-12818,CVE-2025-12817 are fixed in Postgresql 15.15Windows
Vulnerabilities CVE-2025-12818,CVE-2025-12817 are fixed in Postgresql 14.20Windows
Vulnerabilities CVE-2025-12818,CVE-2025-12817 are fixed in PostgreSQL 17 (Standalone) (17.7)Windows
Vulnerabilities CVE-2025-12818,CVE-2025-12817 are fixed in PostgreSQL 16 (16.11)Windows
Vulnerabilities CVE-2025-12818,CVE-2025-12817 are fixed in PostgreSQL 15 (15.15)Windows
Vulnerabilities CVE-2025-12818,CVE-2025-12817 are fixed in PostgreSQL 14 (14.20)Windows
Vulnerabilities CVE-2025-12818,CVE-2025-12817 are fixed in PostgreSQL 13.23Windows

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234