製品・ソフトウェアに関する情報
PostgreSQL.orgのPostgreSQLにおける複数の脆弱性
Title PostgreSQL.orgのPostgreSQLにおける複数の脆弱性
Summary

PostgreSQLのモジュール「refint」におけるスタックバッファオーバーフローの脆弱性により、権限のないデータベースユーザーが、データベースを実行しているオペレーティングシステムのユーザー権限で任意のコードを実行できる可能性があります。アプリケーションがユーザー制御のカラムを「refint」のカスケード主キーとして宣言し、そのカラムへのユーザー制御の更新を許可すると、異なる攻撃が可能になります。この場合、SQLインジェクションにより、主キーの更新値の提供者が主キー更新を行うデータベースユーザーとして任意のSQLを実行できます。影響を受けるバージョンはPostgreSQL 18.4、17.10、16.14、15.18、および14.23より前のバージョンです。

Possible impacts 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date May 14, 2026, midnight
Registration Date May 20, 2026, 1:24 p.m.
Last Update May 20, 2026, 1:24 p.m.
CVSS3.0 : 重要
Score 8.8
Vector CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected System
PostgreSQL.org
PostgreSQL 14.23 未満
PostgreSQL 15.0 以上 15.18 未満
PostgreSQL 16.0 以上 16.14 未満
PostgreSQL 17.0 以上 17.10 未満
PostgreSQL 18.0 以上 18.4 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2026年05月20日]
  掲載
May 20, 2026, 1:24 p.m.

NVD Vulnerability Information
CVE-2026-6637
Summary

Stack buffer overflow in PostgreSQL module "refint" allows an unprivileged database user to execute arbitrary code as the operating system user running the database. A distinct attack is possible if the application declares a user-controlled column as a "refint" cascade primary key and facilitates user-controlled updates to that column. In that case, a SQL injection allows a primary key update value provider to execute arbitrary SQL as the database user performing the primary key update. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.

Publication Date May 14, 2026, 11:16 p.m.
Registration Date May 15, 2026, 4:24 a.m.
Last Update May 19, 2026, 12:05 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* 14.23
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* 15.0 15.18
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* 16.0 16.14
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* 17.0 17.10
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* 18.0 18.4
Related information, measures and tools
Common Vulnerabilities List