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

exploitDog

debian логотип

CVE-2026-40194

Опубликовано: 10 апр. 2026
Источник: debian
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.

Пакеты

ПакетСтатусВерсия исправленияРелизТип
php-phpseclib3fixed3.0.51-1package
php-phpseclib3fixed3.0.43-2+deb13u2trixiepackage
php-phpseclib3fixed3.0.19-1+deb12u5bookwormpackage
php-phpseclibfixed2.0.53-1package
php-phpseclibfixed2.0.48-3+deb13u2trixiepackage
php-phpseclibfixed2.0.42-1+deb12u4bookwormpackage
phpseclibfixed1.0.28-1package
phpseclibfixed1.0.23-6+deb13u2trixiepackage
phpseclibfixed1.0.20-1+deb12u4bookwormpackage
phpseclibpostponedbullseyepackage

Примечания

  • https://github.com/phpseclib/phpseclib/security/advisories/GHSA-r854-jrxh-36qx

  • Fixed by: https://github.com/phpseclib/phpseclib/commit/ffe48b6b1b1af6963327f0a5330e3aa004a194ac (3.0.51, 2.0.53, 1.0.28)

EPSS

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

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

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
nvd
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
github
4 месяца назад

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

EPSS

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