CVE & CISA-KEV Catalog

CVE-2026-40194

LOW
3.7
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
php-phpseclibDebian
Fixed in:2.0.42-1+deb12u4CVE-2026-40194
Fixed in:2.0.48-3+deb13u2CVE-2026-40194
Fixed in:2.0.53-1CVE-2026-40194

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Exploit Intelligence

0.33%probability of exploitation in 30 days
25thpercentile

Low risk: more likely to be exploited than 25% of all known CVEs.

References

Vendor Advisory1
Embed a live status badge for CVE-2026-40194
CVE-2026-40194 severity badge

Markdown

[![CVE-2026-40194](https://tridentstack.com/cve/badge/CVE-2026-40194.svg)](https://tridentstack.com/cve/CVE-2026-40194)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-40194"><img src="https://tridentstack.com/cve/badge/CVE-2026-40194.svg" alt="CVE-2026-40194"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-05-08.