PostgreSQL libpq undersizes allocations, via integer wraparound (PostgreSQL)

CVE-2025-12818
MEDIUM 5.9

En bref

Source
NVD
EPSS
EPSS 0.36 % · centile 30 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
PostgreSQL
Statut NVD
Deferred

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.

Faiblesses (CWE)

  • CWE-190 — Débordement d'entier

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HPostgreSQL
CVSS 3.1MEDIUM 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
PostgreSQLaffected 18 < 18.1 ; affected 17 < 17.7 ; affected 16 < 16.11 ; affected 15 < 15.15 ; affected 14 < 14.20 ; affected 0 < 13.23

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD