Skip to content
High 8.8

PostgreSQLのdblinkに脆弱性、データベース実行ユーザーの権限でコードを実行されるおそれ

CVE-2026-120147 First seen on SecPulse

Summary

PostgreSQLの拡張機能dblinkに、解放済みメモリを再利用する脆弱性(CWE-416)が見つかりました。オブジェクトを作成できる利用者が、データベースを動かしているOSのユーザーの権限で任意のコードを実行できるおそれがあり、CVSSは8.8です。影響を受けるのは18.7より前の18系、17.12より前の17系、16.16より前の16系、15.20より前の15系、14.25より前の14系で、修正版が公開されています。修正版へ更新してください。

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の拡張機能dblinkに、解放済みメモリを再利用する脆弱性(CWE-416)が見つかりました。オブジェクトを作成できる利用者が、データベースを動かしているOSのユーザーの権限で任意のコードを実行できるおそれがあり、CVSSは8.8です。影響を受けるのは18.7より前の18系、17.12より前の17系、16.16より前の16系、15.20より前の15系、14.25より前の14系で、修正版が公開されています。修正版へ更新してください。

Affected packages

PackageAffected → Fixed
CVE の記録PostgreSQL
≥ 18, < 18.7→ 18.7
≥ 17, < 17.12→ 17.12
≥ 16, < 16.16→ 16.16
≥ 15, < 15.20→ 15.20
< 14.25→ 14.25
Bitnamipostgresql
< 14.25.0→ 14.25.0
≥ 15.0.0, < 15.20.0→ 15.20.0
≥ 16.0.0, < 16.16.0→ 16.16.0
≥ 17.0.0, < 17.12.0→ 17.12.0
≥ 18.0.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.

Original description The description as published by the source.

Use after free in the PostgreSQL dblink extension allows an object creator to execute arbitrary code as the operating system user running the database, via type conversion code that re-enters dblink and closes a connection whose results an outer dblink call is reading. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details