CVE-2025-8715

CVE Details

Release Date:2025-08-14
Impact:Important What is this?

Description


Improper neutralization of newlines in pg_dump in PostgreSQL allows a user 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 inside a purpose-crafted object name. The same attacks can achieve SQL injection as a superuser of the restore target server. pg_dumpall, pg_restore, and pg_upgrade are also affected. Versions before PostgreSQL 17.6, 16.10, 15.14, 14.19, and 13.22 are affected. Versions before 11.20 are unaffected. CVE-2012-0868 had fixed this class of problem, but version 11.20 reintroduced it.

See more information about CVE-2025-8715 from MITRE CVE dictionary and NIST NVD


NOTE: The following CVSS metrics and score provided are preliminary and subject to review.


CVSS v3 metrics

Base Score: 8.8
Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Version: 3.1
Attack Vector: Network
Attack Complexity: Low
Privileges Required: None
User Interaction: Required
Scope: Unchanged
Confidentiality Impact: High
Integrity Impact: High
Availability Impact: High

Errata information


PlatformErrataRelease Date
Oracle Linux version 10 (postgresql16) ELSA-2025-148262025-08-28
Oracle Linux version 8 (pg_repack) ELSA-2025-148992025-08-29
Oracle Linux version 8 (pg_repack) ELSA-2025-150212025-09-02
Oracle Linux version 8 (pg_repack) ELSA-2025-150222025-09-02
Oracle Linux version 8 (pg_repack) ELSA-2025-151152025-09-03
Oracle Linux version 8 (pgaudit) ELSA-2025-148992025-08-29
Oracle Linux version 8 (pgaudit) ELSA-2025-150212025-09-02
Oracle Linux version 8 (pgaudit) ELSA-2025-150222025-09-02
Oracle Linux version 8 (pgaudit) ELSA-2025-151152025-09-03
Oracle Linux version 8 (postgres-decoderbufs) ELSA-2025-148992025-08-29
Oracle Linux version 8 (postgres-decoderbufs) ELSA-2025-150212025-09-02
Oracle Linux version 8 (postgres-decoderbufs) ELSA-2025-150222025-09-02
Oracle Linux version 8 (postgres-decoderbufs) ELSA-2025-151152025-09-03
Oracle Linux version 8 (postgresql) ELSA-2025-148992025-08-29
Oracle Linux version 8 (postgresql) ELSA-2025-150212025-09-02
Oracle Linux version 8 (postgresql) ELSA-2025-150222025-09-02
Oracle Linux version 8 (postgresql) ELSA-2025-151152025-09-03
Oracle Linux version 9 (pg_repack) ELSA-2025-148272025-08-28
Oracle Linux version 9 (pg_repack) ELSA-2025-148622025-09-01
Oracle Linux version 9 (pgaudit) ELSA-2025-148272025-08-28
Oracle Linux version 9 (pgaudit) ELSA-2025-148622025-09-01
Oracle Linux version 9 (pgvector) ELSA-2025-148272025-08-28
Oracle Linux version 9 (postgres-decoderbufs) ELSA-2025-148272025-08-28
Oracle Linux version 9 (postgres-decoderbufs) ELSA-2025-148622025-09-01
Oracle Linux version 9 (postgresql) ELSA-2025-148272025-08-28
Oracle Linux version 9 (postgresql) ELSA-2025-148622025-09-01
Oracle Linux version 9 (postgresql) ELSA-2025-148782025-08-29


This page is generated automatically and has not been checked for errors or omissions. For clarification or corrections:

software.hardware.complete