CVE-2025-8714
CVSS v3
8.8
HIGH
EPSS Score
0.8 %
exploit probability, as of 2026-10-19
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for postgresql.
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- postgresqlBitnamiall versions · fixed in 13.22.0
- pg_repackAlmaLinux:9all versions · fixed in 1.4.8-2.module_el9.5.0+119+18833d03
- pg_repackAlmaLinux:8all versions · fixed in 1.4.6-3.module_el8.9.0+3704+f1f917ce
- pgauditAlmaLinux:9all versions · fixed in 1.7.0-1.module_el9.3.0+52+21733919
- pgauditAlmaLinux:8all versions · fixed in 1.4.0-7.module_el8.9.0+3740+0e74851f.alma.1
- pgvectorAlmaLinux:9all versions · fixed in 0.6.2-2.module_el9.6.0+167+4e561146
- postgres-decoderbufsAlmaLinux:9all versions · fixed in 1.9.7-1.Final.module_el9.3.0+52+21733919
- postgres-decoderbufsAlmaLinux:8all versions · fixed in 0.10.0-2.module_el8.9.0+3704+f1f917ce
4 more package ranges on OSV.dev
Vendor advisories
postgresql: PostgreSQL code execution in restore operation
postgresql as a component of Red Hat Enterprise Linux 6 · postgresql-contrib as a component of Red Hat Enterprise Linux 6 · postgresql-devel as a component of Red Hat Enterprise Linux 6
Red Hat Security Advisory: postgresql:12 security update
Red Hat Security Advisory: postgresql security update
Red Hat Security Advisory: postgresql:13 security update
Red Hat Security Advisory: postgresql:12 security update
Red Hat Security Advisory: postgresql:12 security update
19 more advisories
Description
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.
Technical details
- Published
- 2025-08-14
Frequently asked questions
What is CVE-2025-8714?
Is CVE-2025-8714 actively exploited?
What is the CVSS score for CVE-2025-8714?
Running postgresql? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2025-1094same product
- CVE-2024-10979same product
- CVE-2026-2005same product
- CVE-2026-2004same productPostgreSQL intarray missing validation of type of input to selectivity estimator executes arbitrary code
- CVE-2026-2006same product
- CVE-2026-16239same product
- CVE-2026-14669same product
- CVE-2026-73515same product