CVE-2026-40194
low
CVSS v3
3.7
CVSS v4 NEW
โ
VIR risk
3.7
Description
phpseclib has a variable-time HMAC comparison in SSH2::get_binary_packet() using != instead of hash_equals()
Predictions
Exploit likelihood
47%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Mixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 2.0.48-3+deb13u2 |
| sid | Fixed | 2.0.53-1 |
| forky | Fixed | 2.0.53-1 |
| bullseye | Affected | โ |
| bookworm | Fixed | 2.0.42-1+deb12u4 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Packagist | phpseclib/phpseclib | >=0.1.1,<1.0.28|>=3.0.0,<3.0.51|>=2.0.0,<2.0.53 | |
| Packagist | phpseclib/phpseclib | >=0.1.1,<1.0.28 | 1.0.28 |
| Packagist | phpseclib/phpseclib | >=2.0.0,<2.0.53 | 2.0.53 |
| Packagist | phpseclib/phpseclib | >=3.0.0,<3.0.51 | 3.0.51 |
| COMPOSER | phpseclib/phpseclib | >= 0.1.1, < 1.0.28 | 1.0.28 |
| COMPOSER | phpseclib/phpseclib | >= 3.0.0, < 3.0.51 | 3.0.51 |
| COMPOSER | phpseclib/phpseclib | >= 2.0.0, < 2.0.53 | 2.0.53 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| phpseclib | phpseclib | {"endIncluding":"1.0.27"} | |
References
- https://github.com/advisories/GHSA-r854-jrxh-36qx
- https://github.com/phpseclib/phpseclib/commit/ffe48b6b1b1af6963327f0a5330e3aa004a194ac
- https://github.com/phpseclib/phpseclib/releases/tag/1.0.28
- https://github.com/phpseclib/phpseclib/releases/tag/2.0.53
- https://github.com/phpseclib/phpseclib/releases/tag/3.0.51
- https://github.com/phpseclib/phpseclib/security/advisories/GHSA-r854-jrxh-36qx
- https://security-tracker.debian.org/tracker/CVE-2026-40194
- https://nvd.nist.gov/vuln/detail/CVE-2026-40194
- https://github.com/phpseclib/phpseclib
CWEs
CWE-208
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.