OVERVIEW CVE-2026-40194 affects phpseclib, a widely-used PHP secure communications library, in versions prior to 3.0.51, 2.0.53, and 1.0.28. The vulnerability exists in the SSH2::get_binary_packet() function, which uses PHP's inequality operator (!=) to compare received SSH packet HMACs against locally computed values. This comparison method creates a timing side-channel vulnerability due to PHP's use of memcmp() for binary string comparison, which short-circuits on the first differing byte and enables variable-time analysis. SEVERITY The vulnerability carries a CVSS score of 3.7 (LOW) with a network attack vector, high attack complexity, no privilege requirements, and no user interaction needed. Impact is limited to confidentiality, with no integrity or availability implications. The attack requires specific timing analysis capabilities, making exploitation difficult in real-world scenarios. The EPSS score of 0.00013 indicates very low probability of exploitation compared to other published vulnerabilities. EXPLOITATION STATUS There is no evidence of active exploitation, as indicated by the vulnerability's absence from CISA's Known Exploited Vulnerabilities (KEV) catalog and its inactive status on security hot lists. No publicly available exploit code has been identified. The minimal EPSS score and low community attention suggest this timing-based vulnerability is not currently a practical security concern despite its theoretical nature.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
<= 1.0.27CPE matchmatch criteria | cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:* | ||
>= 2.0.0, < 2.0.53CPE matchmatch criteria | cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:* | ||
>= 3.0.0, < 3.0.51CPE matchmatch criteria | cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.3 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.0 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.