cbcvebase.
CVE-2025-12818
published 2025-11-13

CVE-2025-12818: Integer wraparound in multiple PostgreSQL libpq client library functions allows an application input provider or network peer to cause libpq to undersize an…

PriorityP432medium5.9CVSS 3.1
AVNACHPRNUINSUCNINAH
EPSS
0.33%
25.4th percentile
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.

Affected

10 ranges
VendorProductVersion rangeFixed in
debianpostgresql-13< postgresql-13 13.23-0+deb11u1 (bullseye)postgresql-13 13.23-0+deb11u1 (bullseye)
debianpostgresql-15< postgresql-13 13.23-0+deb11u1 (bullseye)postgresql-13 13.23-0+deb11u1 (bullseye)
debianpostgresql-17< postgresql-13 13.23-0+deb11u1 (bullseye)postgresql-13 13.23-0+deb11u1 (bullseye)
debianpostgresql-18< postgresql-13 13.23-0+deb11u1 (bullseye)postgresql-13 13.23-0+deb11u1 (bullseye)
msrcazl3_postgresql_16.10-1_on_azure_linux_3.0
msrcazl3_rust_1.75.0-22_on_azure_linux_3.0
msrcazl3_rust_1.90.0-1_on_azure_linux_3.0
msrcazl3_rust_1.90.0-3_on_azure_linux_3.0
msrcazl3_rust_1.90.0-4_on_azure_linux_3.0
msrccbl2_postgresql_14.19-1_on_cbl_mariner_2.0

CVSS provenance

nvdv3.15.9MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
osv5.9MEDIUM
vendor_debian5.9MEDIUM
vendor_msrc5.9MEDIUM
vendor_redhat5.9MEDIUM
vendor_ubuntu3.1LOW
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.