Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2026-40194

18
FAUCET Score

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.

Impacted Technologies

VendorProductVersion(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 Data

CVSS version used by this source: 3.1

3.7LOW

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

Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
LOW
Integrity Impact
NONE
Availability Impact
NONE
Exploitability Score
2.2
Impact Score
1.4
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.36%
Probability of exploitation in next 30 days
EPSS Percentile
28.7%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0036 is in the 17th percentile among its peer group of 1,506 CVEs.

Social Chatter

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.

Media 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.

Remediation

Patch Available

Vendor Patches (4)

composerpatch availablevia ghsa
Product: phpseclib/phpseclibFixed in: 2.0.53
composerpatch availablevia ghsa
Product: phpseclib/phpseclibFixed in: 3.0.51
composerpatch availablevia ghsa
Product: phpseclib/phpseclibFixed in: 1.0.28
github_advisorypatch availablevia nvd_reference
View patch

Vendor Advisories (1)

composerGHSA-r854-jrxh-36qxlow

phpseclib has a variable-time HMAC comparison in SSH2::get_binary_packet() using != instead of hash_equals()

Apr 10, 2026

References

github.com / phpseclib/phpseclib/commit/ffe48b6b1b1af6963327f0a5330e3aa004a194ac
Patch
github.com / phpseclib/phpseclib/releases/tag/1.0.28
Release Notes
github.com / phpseclib/phpseclib/releases/tag/2.0.53
Release Notes
github.com / phpseclib/phpseclib/releases/tag/3.0.51
Release Notes
github.com / phpseclib/phpseclib/security/advisories/GHSA-r854-jrxh-36qx
Vendor Advisory