VDB

CVE-2026-40194

CVE-2026-40194 PUBLISHED CVSS 3.7 LOW

Reported by github_m · Published April 10, 2026

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.

Risk scores

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

Affected products

VendorProductVersions
phpseclibphpseclib>= 0.1.1, < 1.0.28, >= 2.0.0, < 2.0.53, >= 3.0.0, < 3.0.51
phpseclibphpseclib0.1.1, 3.0.0, 2.0.0
phpseclibphpseclib0.1.1, 2.0.0, 3.0.0
wolfinextcloud-server-330
chainguardnextcloud-server-320
alpinecacti0, 0
wolfinextcloud-server-320
chainguardnextcloud-server-330

Timeline

  • Apr 10, 2026 CVE Published
  • Apr 10, 2026 PoC Published
  • Apr 11, 2026 EPSS Score (30 in total, the first dated here)
  • Apr 11, 2026 Security Advisory
  • May 8, 2026 CVE Updated
  • Jun 26, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-40194
vulnetix vdb fixes CVE-2026-40194

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-40194/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›