CVE-2026-6477 | PostgreSQL libpq lo_* functions let server superuser overwrite client stack memory

Use of inherently dangerous function PQfn(..., result_is_int=0, ...) in PostgreSQL libpq lo_export(), lo_read(), lo_lseek64(), and lo_tell64() functions allows the server superuser to overwrite a client stack buffer with an arbitrarily-large response. Like gets(), PQfn(..., result_is_int=0, ...) stores arbitrary-length, server-determined data into a buffer of unspecified size. Because both the \lo_export command in psql and pg_dump call lo_read(), the server superuser can overwrite pg_dump or psql stack memory. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.

公開: 2026-05-14 最終更新: 2026-05-18 Assigner: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 ソース: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

総合評価: CVE-2026-6477 は低リスク(39.6/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 0.04%、12 パーセンタイル) 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。

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

CVE-2026-6477 の EPSS(Exploit Prediction Scoring System)スコア

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

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-05-15 0.04%

EPSS の全履歴 (全 1 件)

CVE-2026-6477 の 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-2026-6477 の弱点分類(列挙)

CVE-2026-6477 の GitHub Security Advisory

GHSA-jm5f-gpfq-q9h3 · 深刻度: high — Use of inherently dangerous function PQfn(..., result_is_int=0, ...) in PostgreSQL libpq...

CVE-2026-6477 の OS トラッカー

vendor priority summary link
debian not yet assigned CVE-2026-6477 not yet assigned priority: Debian including 4 source packages (postgresql-13, postgresql-15, postgresql-17, postgresql-18), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 1. https://security-tracker.debian.org/tracker/CVE-2026-6477
suse high CVE-2026-6477 severity important: SUSE including 176 source package names (libecpg6-17.10-3.27.1, libecpg6-18.4-150200.5.12.1, …), 773 product×package rows across 31 product lines (SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, … (31 product lines)): First Fixed 340, Fixed 269, Known Not Affected 164. https://www.suse.com/security/cve/CVE-2026-6477/
ubuntu medium CVE-2026-6477 medium priority: Ubuntu including 8 source packages (postgresql-10, postgresql-12, …), 44 status rows across 9 suites (bionic, focal, jammy, noble, questing, resolute, trusty, upstream, xenial): DNE 28, needs-triage 7, ignored 4, released 4, deferred 1. https://ubuntu.com/security/CVE-2026-6477

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

ベンダー 製品 バージョン 生の CPE
postgresql postgresql < 14.23 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
postgresql postgresql >= 15.0, < 15.18 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
postgresql postgresql >= 16.0, < 16.14 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
postgresql postgresql >= 17.0, < 17.10 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
postgresql postgresql >= 18.0, < 18.4 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*

CVE-2026-6477 の参考情報

cvelogic Threat Intelligence