PostgreSQLに任意のコードを実行される脆弱性 17系と18系の一部版が対象
Summary
PostgreSQLの匿名RECORD型における型の混同により、オブジェクトを作成できる利用者がデータベースを動かすOSのユーザー権限で任意のコードを実行できるおそれがあります。影響を受けるのは18系の18.7より前と17系の17.12より前で、修正版として18.7と17.12が公開されています。対象のバージョンを使っている場合は、修正版への更新を急いで検討してください。
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の匿名RECORD型における型の混同により、オブジェクトを作成できる利用者がデータベースを動かすOSのユーザー権限で任意のコードを実行できるおそれがあります。影響を受けるのは18系の18.7より前と17系の17.12より前で、修正版として18.7と17.12が公開されています。対象のバージョンを使っている場合は、修正版への更新を急いで検討してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CVE の記録PostgreSQL |
≥ 18, < 18.7→ 18.7 ≥ 17, < 17.12→ 17.12 |
18.7 17.12 |
| Bitnamipostgresql |
≥ 17.0.0, < 17.12.0→ 17.12.0 ≥ 18.0.0, < 18.7.0→ 18.7.0 |
17.12.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-120142 postgresql18, postgresql17, postgresql16 +1 more Fix available
- BellSoft Alpaquita BELL-CVE-2026-120142 postgresql18, postgresql17 Fix available
- Debian DEBIAN-CVE-2026-120142 postgresql-18, postgresql-17 Fix available
- Ubuntu UBUNTU-CVE-2026-120142 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 anonymous RECORD types allows an object creator to execute arbitrary code as the operating system user running the database, via row types having dropped attributes in the same positions but with different widths or alignments. Within major versions 17-18, minor versions before PostgreSQL 18.7 and 17.12 are affected. Versions before PostgreSQL 17 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