VDB

ALPINE-CVE-2025-12818

ALPINE-CVE-2025-12818 PUBLISHED CVSS 5.900000095367432 MEDIUM

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 Scores

CVSS v3.1
5.900000095367432
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected Products

VendorProductVersions
Alpine:v3.21postgresql1616.2-r2, 16.6-r0, 16.3-r1
Alpine:v3.23postgresql180, 18.0-r0, 18.0-r0
Alpine:v3.22postgresql1717.4-r4, 17.4-r3, 17.4-r2
Alpine:v3.23postgresql1717.6-r0, 17.5-r1, 17.5-r0
Alpine:v3.21postgresql1717.0-r1, 0, 17.0-r0
Alpine:v3.22postgresql1616.2-r3, 16.9-r0, 16.8-r4
Alpine:v3.19postgresql1515.5-r0, 0, 15.1-r0
Alpine:v3.20postgresql1515.2-r2, 15.2-r0, 15.14-r0
Alpine:v3.20postgresql1616.9-r0, 16.3-r0, 16.4-r0
Alpine:v3.19postgresql160, 16.0-r1, 16.0-r2

Timeline

  • Nov 13, 2025 CVE Published
  • Dec 3, 2025 CVE Updated
  • Apr 30, 2026 Distribution Patch
Open in Interactive Console →
$ Console Community · 100/wk Open console ›