PgBouncerにおけるスタックベースのバッファオーバーフローの脆弱性
| Title |
PgBouncerにおけるスタックベースのバッファオーバーフローの脆弱性
|
| Summary |
PgBouncer 1.25.2より前のバージョンのSCRAMコードは、SCRAMクライアント最終メッセージの内容を構築する際にstrlcat()の戻り値を正しく検査していませんでした。悪意のあるバックエンドが長いノンスを含むSCRAMサーバー最終メッセージを送信すると、スタックオーバーフローが発生する可能性があります。
|
| Possible impacts |
当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| Solution |
リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。 |
| Publication Date |
May 9, 2026, midnight |
| Registration Date |
May 18, 2026, 12:10 p.m. |
| Last Update |
May 18, 2026, 12:10 p.m. |
|
CVSS3.0 : 緊急
|
| Score |
9.8
|
| Vector |
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected System
| PgBouncer |
|
PgBouncer 1.25.2 未満
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年05月18日] 掲載 |
May 18, 2026, 12:10 p.m. |
NVD Vulnerability Information
CVE-2026-6665
| Summary |
The SCRAM code in PgBouncer before 1.25.2 did not check the return value of strlcat() correctly when building the contents of the SCRAM client-final-message. A malicious backend that sends a SCRAM server-final-message with a long nonce can trigger a stack overflow.
|
| Publication Date |
May 9, 2026, 10:16 a.m. |
| Registration Date |
May 10, 2026, 4:10 a.m. |
| Last Update |
May 15, 2026, 3:52 a.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:pgbouncer:pgbouncer:*:*:*:*:*:*:*:* |
|
|
|
1.25.2 |
Related information, measures and tools
Common Vulnerabilities List