CVE-2025-12818

MEDIUM

PostgreSQL <18.1, 17.7, 16.11, 15.15, 14.20, 13.23 - Memory Corruption

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.9
EPSS 0.0005
EPSS Percentile 14.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-190
Status published
Products (6)
n/a/PostgreSQL < 13.23
n/a/PostgreSQL 14 - 14.20
n/a/PostgreSQL 15 - 15.15
n/a/PostgreSQL 16 - 16.11
n/a/PostgreSQL 17 - 17.7
n/a/PostgreSQL 18 - 18.1
Published Nov 13, 2025
Tracked Since Feb 18, 2026