Skip to main content
HIGH

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.

Set up CVE WatchFree account · no credit card

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

  • CVE-2025-8714 Red Hat Product Security2,876 products fixed · 11 known affected

    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

  • RHSA-2026:72274 Red Hat Product Security137 products fixed

    Red Hat Security Advisory: postgresql:12 security update

  • RHSA-2025:16099 Red Hat Product Security75 products fixed

    Red Hat Security Advisory: postgresql security update

  • RHSA-2025:15359 Red Hat Product Security213 products fixed

    Red Hat Security Advisory: postgresql:13 security update

  • RHSA-2025:15361 Red Hat Product Security34 products fixed

    Red Hat Security Advisory: postgresql:12 security update

  • RHSA-2025:15115 Red Hat Product Security137 products fixed

    Red Hat Security Advisory: postgresql:12 security update

19 more advisories

Full record on NVD

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?

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.

Is CVE-2025-8714 actively exploited?

Active exploitation of CVE-2025-8714 has not been confirmed. Its EPSS score was 0.8% on 2026-10-19, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2025-8714?

CVE-2025-8714 has a CVSS v3 base score of 8.8 (HIGH severity).

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