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.
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 13 Nov 2025 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 13 Nov 2025 13:15:00 +0000

Type Values Removed Values Added
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.
Title PostgreSQL libpq undersizes allocations, via integer wraparound
Weaknesses CWE-190
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: PostgreSQL

Published:

Updated: 2025-11-13T13:59:33.436Z

Reserved: 2025-11-06T17:22:32.130Z

Link: CVE-2025-12818

cve-icon Vulnrichment

Updated: 2025-11-13T13:59:31.006Z

cve-icon NVD

Status : Received

Published: 2025-11-13T13:15:45.313

Modified: 2025-11-13T13:15:45.313

Link: CVE-2025-12818

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.