PostgreSQLで整数オーバーフローによりメモリ領域の範囲外書き込みが生じる
概要
PostgreSQLサーバーの複数の機能で整数のラップアラウンドが起き、認証された一般ユーザーが確保領域を過小にさせて範囲外書き込みを引き起こせます。データベースを実行しているOSユーザーの権限で任意のコードが実行されるおそれがあります。対象はPostgreSQL 18.4、17.10、16.14、15.18、14.23より前の版で、これらの修正版へ更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
postgresql という製品で、CVE-2026-6473 という番号がついた弱点 (脆弱性) が見つかりました。
悪用されるとシステム全体を乗っ取られる可能性があります。重要度は CVSS スコア 8.8/10 です。
対策: postgresql を 14.23.0, 15.18.0, 16.14.0, 17.10.0, 18.4.0 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「postgresql CVE-2026-6473」を検索してください。
CVE-2026-6473 (postgresql) — CWE-190 / CVSS v3 8.8
攻撃ベクター: ネットワーク経由 (リモート攻撃可) / 被害者操作不要
修正バージョン: 14.23.0, 15.18.0, 16.14.0, 17.10.0, 18.4.0 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
postgresql に 脆弱性 (CWE-190) があります。
postgresql の影響バージョンはベンダーのアドバイザリで確認してください。
重要度: 重要 (CVSS 8.8/10)。悪用されるとシステム全体を乗っ取られる可能性があります。
14.23.0, 15.18.0, 16.14.0, 17.10.0, 18.4.0 に更新してください。
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1
影響範囲の特定identify
grep -r 'postgresql' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
postgresqlを grep し、稼働しているサービス・バージョンを把握する。 -
2
パッチ適用patch
Upgrade postgresql to 14.23.0, 15.18.0, 16.14.0, 17.10.0, 18.4.0ステージング環境で 14.23.0, 15.18.0, 16.14.0, 17.10.0, 18.4.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
事後検証verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| Bitnamipostgresql |
14.23.0 未満→ 14.23.0 15.0.0 以上 15.18.0 未満→ 15.18.0 16.0.0 以上 16.14.0 未満→ 16.14.0 17.0.0 以上 17.10.0 未満→ 17.10.0 18.0.0 以上 18.4.0 未満→ 18.4.0 |
14.23.0 15.18.0 16.14.0 17.10.0 18.4.0 |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- Alpine Linux ALPINE-CVE-2026-6473 postgresql18, postgresql17, postgresql16 ほか 1 件 修正版あり
- BellSoft Alpaquita BELL-CVE-2026-6473 postgresql18, postgresql17, postgresql15 修正版あり
- Debian DEBIAN-CVE-2026-6473 postgresql-18, postgresql-17, postgresql-15 修正版あり
- Ubuntu UBUNTU-CVE-2026-6473 postgresql-18, postgresql-17, postgresql-16 ほか 1 件 修正版あり
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Integer wraparound in multiple PostgreSQL server features allows an unprivileged database user to cause the server to undersize an allocation and write out-of-bounds. This may execute arbitrary code as the operating system user running the database. In applications that pass gigabyte-scale user inputs to the relevant database functions, the application input provider may achieve a segmentation fault. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.
出典: GitHub Security Advisories (Global) NVD GitHub Advisory
参照URL
- JVN JVNDB-2026-029043
- JVN JVNDB-2026-029291
- patch postgresql.org
- web nvd.nist.gov
- web postgresql.org
- web github.com
- web security.access.redhat.com
- web bugzilla.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com
- web access.redhat.com