Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2025-8714 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://www.postgresql.org/support/security/CVE-2025-8714/ PostgreSQLAdvisoryRemedyVendor

Weakness Enumeration

CWE-IDCWE NameSource
CWE-829Inclusion of Functionality from Untrusted Control SpherePostgreSQL

Affected Products

ProductVersions
PostgreSQL pg_dump
< 17.6
< 16.10
< 15.14
< 14.19
< 13.22

CPE

  • cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*

Remediation

PostgreSQL pg_dumpall
All versions

CPE

  • No CPEs found in CPE dictionary for this product.

Remediation

  • No remediation found in references.
PostgreSQL pg_restore
All versions

CPE

  • No CPEs found in CPE dictionary for this product.

Remediation

  • No remediation found in references.

Change History

3 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2025-8714
NVD Published Date:
Aug 14, 2025
NVD Last Modified:
Jun 17, 2026
Source:
PostgreSQL
CVE-2025-8714 Details - Not Deferred