CVE-2025-12818
Medium 5.9 No auth needed
Follow: this CVE We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.1
- 5.9
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 35
- Auth required
- No
- Published
- Nov 13, 2025
- Updated
- Oct 19, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-190
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Check whether you run any of the affected products and follow the vendor advisory.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Official advisories
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:8756 · Apr 21, 2026 High
- Security update for postgresql13 · SUSE · SUSE-SU-2026:20986-1 · Mar 30, 2026 Medium
- Security update for postgresql13 · SUSE · openSUSE-SU-2026:20449-1 · Mar 30, 2026 Medium
- Security update for postgresql17 and postgresql18 · SUSE · SUSE-SU-2026:20194-1 · Mar 18, 2026 Medium
- Red Hat Security Advisory: libpq security update · Red Hat · RHSA-2026:0865 · Jan 21, 2026 Medium
- Red Hat Security Advisory: libpq security update · Red Hat · RHSA-2026:0835 · Jan 20, 2026 Medium
Also: SUSE (+23), Red Hat (+31)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.