216.73.216.170

CVE-2026-40194

· Published 10/04/2026 21:16 · Modified 10/04/2026 21:16

Labels: CVE-2026-40194 2026-04-10CVE-2026-40194CWE-208[email protected]

Essential information

Published
10/04/2026 21:16
Modified
10/04/2026 21:16
Author
Creator
CVSS
3.7 LOW (v3.1)
CISA KEV
No
CWE
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

CVSS metrics

Description

phpseclib is a PHP secure communications library. 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.

NVD status

Status
Received — CVE has been recently published to the CVE List and has been received by the NVD.
Source
[email protected]
NVD
View on NVD

Affected products (CPE)

ProductCPE
phpseclib / phpseclib cpe:2.3:a:phpseclib:phpseclib:3.0.51:*:*:*:*:*:*:*
phpseclib / phpseclib cpe:2.3:a:phpseclib:phpseclib:2.0.53:*:*:*:*:*:*:*
phpseclib / phpseclib cpe:2.3:a:phpseclib:phpseclib:1.0.28:*:*:*:*:*:*:*

References