CVE-2025-8714 | PostgreSQL pg_dump lets superuser of origin server execute arbitrary code in psql client

Untrusted data inclusion in pg_dump in PostgreSQL allows a malicious superuser 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. pg_dumpall is also affected. pg_restore is affected when used to generate a plain-format dump. This is similar to MySQL CVE-2024-21096. Versions before PostgreSQL 17.6, 16.10, 15.14, 14.19, and 13.22 are affected.

Published: 2025-08-14 Last update: 2026-04-15 Assigner: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 Source: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

Conclusion & alert: CVE-2025-8714 is rated Low Risk (37.2/100): CVSS High severity, with low exploitation likelihood (EPSS 0.03%). 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.

Exploit prediction scoring system (EPSS) score for CVE-2025-8714

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 2025-11-21 0.07% 0.03% -0.04%
2 2025-11-18 0.03% 0.07% +0.04%
3 2025-09-16 0.03%

Full EPSS history (4 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-8714

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
8.8 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.8 5.9 f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

Weakness enumeration for CVE-2025-8714

OS Trackers for CVE-2025-8714

vendor priority summary link
alpine high CVE-2025-8714: 4 source package rows (postgresql, postgresql15, postgresql16, postgresql17); 31 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 18. https://security.alpinelinux.org/vuln/CVE-2025-8714
debian not yet assigned CVE-2025-8714 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-8714
redhat high https://access.redhat.com/security/cve/CVE-2025-8714
suse high CVE-2025-8714 severity important: SUSE including 600 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, …), 1602 product×package rows across 65 product lines (Container containers/open-webui, Container private-registry/harbor-db, … (65 product lines)): Fixed 1102, Known Not Affected 269, Known Affected 231. https://www.suse.com/security/cve/CVE-2025-8714/
ubuntu medium CVE-2025-8714 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-8714

Affected software / configurations for CVE-2025-8714

Vendor Product Version Raw CPE
No affected products in dataset.

References for CVE-2025-8714

cvelogic Threat Intelligence