CVE-2025-8715 | PostgreSQL pg_dump newline in object name executes arbitrary code in psql client and in restore target server

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.

公開: 2025-08-14 最終更新: 2026-06-17 Assigner: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 ソース: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

総合評価: CVE-2025-8715 は中リスク(45.9/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 0.39%、30 パーセンタイル) 推奨対応: 影響資産を整理し、修補計画に組み込んでください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2025-8715 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 0.24% 0.39% +0.15%
2 2026-06-10 0.05% 0.24% +0.19%
3 2026-04-19 0.05%

EPSS の全履歴 (全 8 件)

CVE-2025-8715 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
8.8 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:R)
インストールの許可、設定変更、悪意あるファイルの実行など、人の一度の判断がトリガーになる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:H)
長時間のサービス停止、データ損壊による復旧不能に近い状態など、利用者に著しい不便を与えうる。
2.8 5.9 f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

CVE-2025-8715 の弱点分類(列挙)

CVE-2025-8715 の OS トラッカー

vendor priority summary link
alpine high CVE-2025-8715: 4 source package rows (postgresql, postgresql15, postgresql16, postgresql17); 20 state rows across 7 repos (3.19-main, 3.20-main, 3.21-main, 3.22-community, 3.22-main, edge-community, edge-main); fixed 13, open 7. https://security.alpinelinux.org/vuln/CVE-2025-8715
debian not yet assigned CVE-2025-8715 not yet assigned priority: Debian including 3 source packages (postgresql-13, postgresql-15, postgresql-17), 3 status rows across 3 suites (bookworm, bullseye, trixie): resolved 3. https://security-tracker.debian.org/tracker/CVE-2025-8715
redhat high https://access.redhat.com/security/cve/CVE-2025-8715
suse high CVE-2025-8715 severity important: SUSE including 587 source package names (0.6.18-12.6:libpq5-17.6-150600.13.16.1, 2.13.2-3.3:libpq5-17.6-150600.13.16.1, …), 1589 product×package rows across 64 product lines (Container containers/open-webui, Container private-registry/harbor-db, … (64 product lines)): Fixed 1089, Known Not Affected 269, Known Affected 231. https://www.suse.com/security/cve/CVE-2025-8715/
ubuntu medium CVE-2025-8715 medium priority: Ubuntu including 7 source packages (postgresql-10, postgresql-12, …), 39 status rows across 9 suites (bionic, focal, jammy, noble, plucky, questing, trusty, upstream, xenial): DNE 24, released 7, ignored 4, needs-triage 3, deferred 1. https://ubuntu.com/security/CVE-2025-8715

CVE-2025-8715 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
データセットに影響を受ける製品はありません。

CVE-2025-8715 の参考情報

cvelogic Threat Intelligence