{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-12818","assignerOrgId":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","state":"PUBLISHED","assignerShortName":"PostgreSQL","dateReserved":"2025-11-06T17:22:32.130Z","datePublished":"2025-11-13T13:00:12.911Z","dateUpdated":"2025-11-13T13:59:33.436Z"},"containers":{"cna":{"providerMetadata":{"orgId":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","shortName":"PostgreSQL","dateUpdated":"2025-11-13T13:00:12.911Z"},"title":"PostgreSQL libpq undersizes allocations, via integer wraparound","descriptions":[{"lang":"en","value":"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":[{"defaultStatus":"unaffected","product":"PostgreSQL","vendor":"n/a","versions":[{"lessThan":"18.1","status":"affected","version":"18","versionType":"rpm"},{"lessThan":"17.7","status":"affected","version":"17","versionType":"rpm"},{"lessThan":"16.11","status":"affected","version":"16","versionType":"rpm"},{"lessThan":"15.15","status":"affected","version":"15","versionType":"rpm"},{"lessThan":"14.20","status":"affected","version":"14","versionType":"rpm"},{"lessThan":"13.23","status":"affected","version":"0","versionType":"rpm"}]}],"problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-190","type":"CWE","description":"Integer Overflow or Wraparound"}]}],"references":[{"url":"https://www.postgresql.org/support/security/CVE-2025-12818/"}],"metrics":[{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":5.9,"baseSeverity":"MEDIUM"}}],"credits":[{"lang":"en","value":"The PostgreSQL project thanks Aleksey Solovev (Positive Technologies) for reporting this problem."}]},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-11-13T13:59:26.597610Z","id":"CVE-2025-12818","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-11-13T13:59:33.436Z"}}]}}