CVE-2026-40194

low
Published 2026-04-10 ยท Modified 2026-05-08
CVSS v3
3.7
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS v4 NEW
โ€”
not yet in upstream
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 with source_tier=community-verified.

OS impact

debian Debian Mixed 5 releases
VersionStatusFixed 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

EcosystemPackageVulnerableFixed
php Packagistphpseclib/phpseclib>=0.1.1,<1.0.28|>=3.0.0,<3.0.51|>=2.0.0,<2.0.53
php Packagistphpseclib/phpseclib>=0.1.1,<1.0.281.0.28
php Packagistphpseclib/phpseclib>=2.0.0,<2.0.532.0.53
php Packagistphpseclib/phpseclib>=3.0.0,<3.0.513.0.51
php COMPOSERphpseclib/phpseclib>= 0.1.1, < 1.0.281.0.28
php COMPOSERphpseclib/phpseclib>= 3.0.0, < 3.0.513.0.51
php COMPOSERphpseclib/phpseclib>= 2.0.0, < 2.0.532.0.53

Application impact

VendorProductVersionsFixed
phpseclibphpseclib{"endIncluding":"1.0.27"}

References

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.