CVE-2025-12818 Affecting postgresql15 package, versions <15.15-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.05% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE320-POSTGRESQL15-14038325
  • published16 Nov 2025
  • disclosed13 Nov 2025

Introduced: 13 Nov 2025

NewCVE-2025-12818  (opens in a new tab)

How to fix?

Upgrade Alpine:3.20 postgresql15 to version 15.15-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql15 package and not the postgresql15 package as distributed by Alpine. See How to fix? for Alpine:3.20 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1