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.
悪意のあるSSHサーバーに接続すると、libssh2のクライアントでヒープバッファオーバーフローが起き、任意のコードを実行される可能性があります。影響は1.11.1までのlibssh2で、特に32ビット環境で問題になります。修正版の有無については最新の情報を確認してください。
libssh2における整数オーバーフローの脆弱性
libssh2のバージョン1.11.1まで
32ビットプラットフォームでのバッファオーバーフローにより、攻撃者が任意のコードを実行する可能性がある。
libssh2の最新バージョンにアップデートし、境界チェックを追加することで修正する。
攻撃が可能な環境に対するSSH接続を制限する。
特に32ビットプラットフォームで動作するlibssh2を使用している場合、パッチ適用を確認する。
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-58050 libssh2 Fix available
- Debian DEBIAN-CVE-2026-58050 libssh2 Fix available
- Ubuntu UBUNTU-CVE-2026-58050 libssh2 Fix available
Original description The description as published by the source.
libssh2 through 1.11.1 reads an attacker-controlled 32-bit attribute count from a publickey-subsystem response and uses it in the allocation num_attrs * sizeof(libssh2_publickey_attribute) without bounds checking, so on 32-bit platforms the multiplication overflows to an undersized buffer. A malicious SSH server can then drive the attribute-parsing loop to write past the allocation, causing a heap buffer overflow in a connecting libssh2 client.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- report github.com
- web github.com
- web github.com