PostgreSQL up to 13.21/14.18/15.13/16.9/17.5 pg_dumpall/pg_restore inclusion of functionality from untrusted control sphere
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.4 | $0-$5k | 0.18 |
Summary
A vulnerability described as critical has been identified in PostgreSQL up to 13.21/14.18/15.13/16.9/17.5. This vulnerability affects unknown code of the component pg_dumpall/pg_restore. The manipulation results in inclusion of functionality from untrusted control sphere. This vulnerability is identified as CVE-2025-8714. The attack can be executed remotely. There is not any exploit available. Upgrading the affected component is recommended.
Details
A vulnerability was found in PostgreSQL up to 13.21/14.18/15.13/16.9/17.5. It has been classified as critical. Affected is an unknown code block of the component pg_dumpall/pg_restore. The manipulation with an unknown input leads to a inclusion of functionality from untrusted control sphere vulnerability. CWE is classifying the issue as CWE-829. The product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
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.
The advisory is shared for download at postgresql.org. This vulnerability is traded as CVE-2025-8714 since 08/07/2025. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Successful exploitation requires user interaction by the victim. There are neither technical details nor an exploit publicly available.
The vulnerability scanner Nessus provides a plugin with the ID 249339 (Debian dla-4273 : libecpg-compat3 - security update), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 13.22, 14.19, 15.14, 16.10 or 17.6 eliminates this vulnerability.
The vulnerability is also documented in the databases at Tenable (249339) and CERT Bund (WID-SEC-2025-1842). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Affected
- Debian Linux
- Amazon Linux 2
- Red Hat Enterprise Linux
- Ubuntu Linux
- SUSE Linux
- Oracle Linux
- IBM QRadar SIEM
- SUSE openSUSE
- RESF Rocky Linux
- Dell Avamar
- Open Source PostgreSQL
- Dell NetWorker
Product
Type
Name
Version
- 13.0
- 13.1
- 13.2
- 13.3
- 13.4
- 13.5
- 13.6
- 13.7
- 13.8
- 13.9
- 13.10
- 13.11
- 13.12
- 13.13
- 13.14
- 13.15
- 13.16
- 13.17
- 13.18
- 13.19
- 13.20
- 13.21
- 14.0
- 14.1
- 14.2
- 14.3
- 14.4
- 14.5
- 14.6
- 14.7
- 14.8
- 14.9
- 14.10
- 14.11
- 14.12
- 14.13
- 14.14
- 14.15
- 14.16
- 14.17
- 14.18
- 15.0
- 15.1
- 15.2
- 15.3
- 15.4
- 15.5
- 15.6
- 15.7
- 15.8
- 15.9
- 15.10
- 15.11
- 15.12
- 15.13
- 16.0
- 16.1
- 16.2
- 16.3
- 16.4
- 16.5
- 16.6
- 16.7
- 16.8
- 16.9
- 17.0
- 17.1
- 17.2
- 17.3
- 17.4
- 17.5
License
Website
- Product: https://www.postgresql.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.6VulDB Meta Temp Score: 7.4
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 8.8
CNA Vector (PostgreSQL): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Inclusion of functionality from untrusted control sphereCWE: CWE-829
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 249339
Nessus Name: Debian dla-4273 : libecpg-compat3 - security update
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: PostgreSQL 13.22/14.19/15.14/16.10/17.6
Timeline
08/07/2025 CVE reserved08/14/2025 Advisory disclosed
08/14/2025 VulDB entry created
11/01/2025 VulDB entry last update
Sources
Product: postgresql.orgAdvisory: postgresql.org
Status: Confirmed
CVE: CVE-2025-8714 (🔒)
GCVE (CVE): GCVE-0-2025-8714
GCVE (VulDB): GCVE-100-320136
CERT Bund: WID-SEC-2025-1842 - PostgreSQL: Mehrere Schwachstellen
Entry
Created: 08/14/2025 16:30Updated: 11/01/2025 23:32
Changes: 08/14/2025 16:30 (63), 08/15/2025 05:46 (2), 08/17/2025 05:57 (7), 08/18/2025 08:26 (1), 08/28/2025 15:53 (1), 09/07/2025 11:13 (1), 09/14/2025 07:20 (1), 11/01/2025 23:32 (1)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.