GHSA-r854-jrxh-36qx · 深刻度: low · エコシステム: composer — phpseclib has a variable-time HMAC comparison in SSH2::get_binary_packet() using != instead of hash_equals()
phpseclib is a PHP secure communications library. Starting in 0.1.1 and prior to 3.0.51, 2.0.53, and 1.0.28, phpseclib\Net\SSH2::get_binary_packet() uses PHP's != operator to compare a received SSH packet HMAC against the locally computed HMAC. != on equal-length binary strings in PHP uses memcmp(), which short-circuits on the first differing byte. This is a real variable-time comparison (CWE-208), proven by scaling benchmarks. This vulnerability is fixed in 3.0.51, 2.0.53, and 1.0.28.
総合評価: CVE-2026-40194 は低リスク(23.9/100)。CVSS 深刻度は低。悪用される可能性が高い(EPSS 0.33%、25 パーセンタイル) 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.01% | 0.33% | +0.32% |
| 2 | 2026-04-11 | — | 0.01% | — |
EPSS の全履歴 (全 2 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 3.7 | 3.1 | LOW |
|
2.2 | 1.4 | [email protected] |
GHSA-r854-jrxh-36qx · 深刻度: low · エコシステム: composer — phpseclib has a variable-time HMAC comparison in SSH2::get_binary_packet() using != instead of hash_equals()
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-40194 not yet assigned priority: Debian including 3 source packages (php-phpseclib, php-phpseclib3, phpseclib), 13 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 12, open 1. | https://security-tracker.debian.org/tracker/CVE-2026-40194 |
ubuntu
|
medium | CVE-2026-40194 medium priority: Ubuntu including 3 source packages (php-phpseclib, php-phpseclib3, phpseclib), 21 status rows across 8 suites (bionic, focal, jammy, noble, questing, resolute, upstream, xenial): needs-triage 19, released 2. | https://ubuntu.com/security/CVE-2026-40194 |