CVE Database
/

CVE-2025-12818

Back to search

CVE-2025-12818

Published: Nov 13, 2025

Modified: Nov 13, 2025

PUBLISHED

CVSS v3.1

5.9

MEDIUM

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.

VendorProductVersions

n/a

PostgreSQL

affected
18 - < 18.1
affected
17 - < 17.7
affected
16 - < 16.11
affected
15 - < 15.15
affected
14 - < 14.20

+1 more versions

Weaknesses (CWE)

CVSS v3.1 Details

CVSS v3.1 Vector

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

Attack Vector

Network

Attack Complexity

High

Privileges Required

None

User Interaction

None

Scope

Unchanged

Confidentiality

None

Integrity

None

Availability

High

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now