PostgreSQLの統計情報インポートで任意のコードを実行される脆弱性
Summary
PostgreSQLの統計情報インポート処理に型の混同の脆弱性があり、テーブルの保守権限を持つ利用者がデータベースを動かすOSユーザーの権限で任意のコードを実行できるおそれがあります。影響を受けるのはメジャーバージョン18の18.7より前で、18.7以降に修正版が公開されています。CVSSは8.8です。18.7へのアップデートを優先してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
PostgreSQLの統計情報インポート処理に型の混同の脆弱性があり、テーブルの保守権限を持つ利用者がデータベースを動かすOSユーザーの権限で任意のコードを実行できるおそれがあります。影響を受けるのはメジャーバージョン18の18.7より前で、18.7以降に修正版が公開されています。CVSSは8.8です。18.7へのアップデートを優先してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CVE の記録PostgreSQL |
≥ 18, < 18.7→ 18.7 |
18.7 |
| Bitnamipostgresql |
≥ 18.0.0, < 18.7.0→ 18.7.0 |
18.7.0 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Alpine Linux ALPINE-CVE-2026-116329 postgresql18, postgresql17, postgresql16 +1 more Fix available
- BellSoft Alpaquita BELL-CVE-2026-116329 postgresql18, postgresql17 Fix available
- Debian DEBIAN-CVE-2026-116329 postgresql-18 Fix available
- Ubuntu UBUNTU-CVE-2026-116329 postgresql-18, postgresql-16, postgresql-14 +4 more No fixed version in this record
Original description The description as published by the source.
Type confusion in PostgreSQL statistics import allows a table maintainer to execute arbitrary code as the operating system user running the database, via nested SET DATA TYPE during conversion of values to import. Within major version 18, minor versions before PostgreSQL 18.7 are affected. Versions before PostgreSQL 18 are unaffected.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- REDHAT Red Hat
- web postgresql.org
- web nvd.nist.gov
- web postgresql.org
- web github.com