Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

nvd логотип

CVE-2026-40194

Опубликовано: 10 апр. 2026
Источник: nvd
CVSS3: 3.7
EPSS Низкий

Описание

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.

Уязвимые конфигурации

Конфигурация 1

Одно из

cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:*
Версия до 1.0.27 (включая)
cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:*
Версия от 2.0.0 (включая) до 2.0.53 (исключая)
cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:*
Версия от 3.0.0 (включая) до 3.0.51 (исключая)

EPSS

Процентиль: 29%
0.00361
Низкий

3.7 Low

CVSS3

Дефекты

CWE-208

Связанные уязвимости

CVSS3: 3.7
ubuntu
4 месяца назад

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.

CVSS3: 3.7
debian
4 месяца назад

phpseclib is a PHP secure communications library. Starting in 0.1.1 an ...

CVSS3: 3.7
github
4 месяца назад

phpseclib has a variable-time HMAC comparison in SSH2::get_binary_packet() using != instead of hash_equals()

EPSS

Процентиль: 29%
0.00361
Низкий

3.7 Low

CVSS3

Дефекты

CWE-208