Improper neutralization of newlines in pg_dump in PostgreSQL allows a user of the origin server to inject arbitrary code for restore-time execution as the client operating system account running psql to restore the dump, via psql meta-commands inside a purpose-crafted object name. The same attacks can achieve SQL injection as a superuser of the restore target server. pg_dumpall, pg_restore, and pg_upgrade are also affected. Versions before PostgreSQL 17.6, 16.10, 15.14, 14.19, and 13.22 are affected. Versions before 11.20 are unaffected. CVE-2012-0868 had fixed this class of problem, but version 11.20 reintroduced it.
Conclusion & alert: CVE-2025-8715 is rated Moderate Risk (51.9/100): CVSS High severity, with low exploitation likelihood (EPSS 0.24%). Mandatory action: Review affected assets and schedule remediation.
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-10 | 0.05% | 0.24% | +0.19% |
| 2 | 2026-04-19 | 0.03% | 0.05% | +0.03% |
| 3 | 2026-01-10 | — | 0.03% | — |
Full EPSS history (7 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.8 | 3.1 | HIGH |
|
2.8 | 5.9 | f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
high | CVE-2025-8715: 4 source package rows (postgresql, postgresql15, postgresql16, postgresql17); 20 state rows across 7 repos (3.19-main, 3.20-main, 3.21-main, 3.22-community, 3.22-main, edge-community, edge-main); fixed 13, open 7. | https://security.alpinelinux.org/vuln/CVE-2025-8715 |
debian
|
not yet assigned | CVE-2025-8715 not yet assigned priority: Debian including 3 source packages (postgresql-13, postgresql-15, postgresql-17), 3 status rows across 3 suites (bookworm, bullseye, trixie): resolved 3. | https://security-tracker.debian.org/tracker/CVE-2025-8715 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2025-8715 |
suse
|
high | CVE-2025-8715 severity important: SUSE including 587 source package names (0.6.18-12.6:libpq5-17.6-150600.13.16.1, 2.13.2-3.3:libpq5-17.6-150600.13.16.1, …), 1589 product×package rows across 64 product lines (Container containers/open-webui, Container private-registry/harbor-db, … (64 product lines)): Fixed 1089, Known Not Affected 269, Known Affected 231. | https://www.suse.com/security/cve/CVE-2025-8715/ |
ubuntu
|
medium | CVE-2025-8715 medium priority: Ubuntu including 7 source packages (postgresql-10, postgresql-12, …), 39 status rows across 9 suites (bionic, focal, jammy, noble, plucky, questing, trusty, upstream, xenial): DNE 24, released 7, ignored 4, needs-triage 3, deferred 1. | https://ubuntu.com/security/CVE-2025-8715 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| No affected products in dataset. | |||