製品・ソフトウェアに関する情報
PostgreSQL.orgのPostgreSQL JDBC ドライバにおける制限またはスロットリング無しのリソースの割り当てに関する脆弱性
Title PostgreSQL.orgのPostgreSQL JDBC ドライバにおける制限またはスロットリング無しのリソースの割り当てに関する脆弱性
Summary

pgjdbcはオープンソースのPostgreSQL JDBCドライバーです。バージョン42.2.0から42.7.11未満のバージョンにおいて、SCRAM-SHA-256認証中にクライアント側でサービス拒否の脆弱性が存在します。悪意のあるサーバーは、ドライバーに対して非常に大きな反復回数でSCRAM認証を実行するよう指示できます。十分に大きな値を指定すると、認証が失敗する前にクライアントはPBKDF2内で無制限のCPU時間を消費します。単一の試行でもCPUコアを占有します。繰り返しまたは同時に試行すると、クライアントのCPUを枯渇させて接続プールを動作不能にする可能性があります。影響を受けるバージョンでは、loginTimeoutはこの問題を完全には軽減できません。loginTimeoutの期限が切れた場合、呼び出し元は待機を停止できますが、接続試行を行うワーカースレッドはSCRAM PBKDF2計算内で引き続きCPUを消費します。この問題はバージョン42.7.11で修正されました。

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

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

Publication Date April 29, 2026, midnight
Registration Date May 7, 2026, 12:04 p.m.
Last Update May 7, 2026, 12:04 p.m.
CVSS3.0 : 重要
Score 7.5
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected System
PostgreSQL.org
PostgreSQL JDBC ドライバ 42.2.0 以上 42.7.11 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年05月07日]
  掲載
May 7, 2026, 12:04 p.m.

NVD Vulnerability Information
CVE-2026-42198
Summary

pgjdbc is an open source postgresql JDBC Driver. From version 42.2.0 to before version 42.7.11, pgjdbc is vulnerable to a client-side denial of service during SCRAM-SHA-256 authentication. A malicious server can instruct the driver to perform SCRAM authentication with a very large iteration count. With a large enough value, the client spends an unbounded amount of CPU time inside PBKDF2 before authentication can fail. A single attempt ties up a CPU core. Repeated or concurrent attempts exhaust client CPU and can wedge connection pools. In affected versions, loginTimeout did not fully mitigate this problem. When loginTimeout expired, the caller could stop waiting, but the worker thread performing the connection attempt could continue running and burning CPU inside the SCRAM PBKDF2 computation. This issue has been patched in version 42.7.11.

Publication Date April 30, 2026, 1:16 a.m.
Registration Date April 30, 2026, 4:10 a.m.
Last Update May 1, 2026, 9:51 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:postgresql:postgresql_jdbc_driver:*:*:*:*:*:*:*:* 42.2.0 42.7.11
Related information, measures and tools
Common Vulnerabilities List