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.
Conclusion & alert: CVE-2025-12818 is rated Low Risk (29.4/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.05%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-09 | 0.04% | 0.05% | +0.01% |
| 2 | 2026-04-11 | 0.05% | 0.04% | -0.01% |
| 3 | 2025-11-19 | — | 0.05% | — |
Full EPSS history (4 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.9 | 3.1 | MEDIUM |
|
2.2 | 3.6 | f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
medium | CVE-2025-12818: 5 source package rows (postgresql, postgresql15, postgresql16, postgresql17, postgresql18); 33 state rows across 9 repos (3.19-main, 3.20-main, 3.21-main, 3.22-community, 3.22-main, 3.23-community, 3.23-main, edge-community, edge-main); fixed 15, open 18. | https://security.alpinelinux.org/vuln/CVE-2025-12818 |
debian
|
not yet assigned | CVE-2025-12818 not yet assigned priority: Debian including 4 source packages (postgresql-13, postgresql-15, postgresql-17, postgresql-18), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2025-12818 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2025-12818 |
suse
|
high | CVE-2025-12818 severity important: SUSE including 788 source package names (0.6.41-13.9:libpq5-18.1-150600.13.3.1, 2.13.2_git56172457-4.12:libpq5-18.1-150600.13.3.1, …), 2516 product×package rows across 108 product lines (Container containers/open-webui, Container private-registry/harbor-db, … (108 product lines)): Fixed 1885, Known Not Affected 323, Known Affected 231, First Fixed 77. | https://www.suse.com/security/cve/CVE-2025-12818/ |
ubuntu
|
medium | CVE-2025-12818 medium priority: Ubuntu including 8 source packages (postgresql-10, postgresql-12, …), 44 status rows across 9 suites (bionic, focal, jammy, noble, plucky, questing, trusty, upstream, xenial): DNE 28, released 8, ignored 4, needs-triage 3, deferred 1. | https://ubuntu.com/security/CVE-2025-12818 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| No affected products in dataset. | |||