{"id":"DEBIAN-CVE-2025-12818","details":"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.","modified":"2026-09-01T20:05:40.853230846Z","published":"2025-11-13T13:15:45.313Z","upstream":["CVE-2025-12818"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2025-12818"}],"affected":[{"package":{"name":"postgresql-15","ecosystem":"Debian:12","purl":"pkg:deb/debian/postgresql-15?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"15.15-0+deb12u1"}]}],"versions":["15.10-0+deb12u1","15.11-0+deb12u1","15.12-0+deb12u1","15.12-0+deb12u2","15.13-0+deb12u1","15.14-0+deb12u1","15.3-0+deb12u1","15.3-1","15.4-0+deb12u1","15.4-1","15.4-2","15.4-3","15.5-0+deb12u1","15.6-0+deb12u1","15.7-0+deb12u1","15.8-0+deb12u1","15.9-0+deb12u1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-12818.json"}},{"package":{"name":"postgresql-17","ecosystem":"Debian:13","purl":"pkg:deb/debian/postgresql-17?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"17.7-0+deb13u1"}]}],"versions":["17.5-1","17.6-0+deb13u1","17.6-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-12818.json"}},{"package":{"name":"postgresql-18","ecosystem":"Debian:14","purl":"pkg:deb/debian/postgresql-18?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"18.1-1"}]}],"versions":["18.0-1","18~beta1+20250612-1","18~beta1+20250624-1","18~beta1+20250701-1","18~beta1-1","18~beta2-1","18~beta3-1","18~rc1-1","18~rc1-2","18~rc1-3","18~~devel.20250318+g4078da6c478-1","18~~devel.20250331-1","18~~devel.20250405-1","18~~devel.20250421-1","18~~devel.20250502-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-12818.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}