{"id":"CVE-2025-12818","published":"2025-11-13T13:00:12Z","modified":"2025-11-13T13:59:33Z","title":"PostgreSQL libpq undersizes allocations, via integer wraparound","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00364,"percentile":0.31023,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"https://www.postgresql.org/support/security/CVE-2025-12818/","tags":[]}],"priority":{"score":10.3,"factors":[{"name":"EPSS percentile","points":6.2},{"name":"CVSS severity","points":4.13}]},"affectedVersions":[{"vendor":"n/a","product":"PostgreSQL","versions":[">= 18, < 18.1",">= 17, < 17.7",">= 16, < 16.11",">= 15, < 15.15",">= 14, < 14.20","< 13.23"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-11-13T13:59:26.597610Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-169291","exploited":false,"provenance":"source"}}