CVE-2026-40194Disclosure(phpseclib / phpseclib)

LOWCVSS 3.7 · LOW

Signal is active with 1 mentions in latest observed window

Immediate actions

  • Patch phpseclib phpseclib systems immediately

Recommended action window: Monitor and triage in normal cycle

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.

0.5/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-208

Priority

LOW

Exploitation

NONE

PoC

NONE

Patch

AVAILABLE

Momentum

STABLE

Are you affected?

If you run products in this scope, you should treat this CVE as relevant to your environment.

  • phpseclib

Threat summary

  • Patch or workaround signal is available
  • 2 mentions across 2 observed days
  • Momentum state: stable

What's happening

  • Patch or workaround mentioned in 1 signal
  • Technical details provided in 2 signals
  • Disclosure: 2 classified signals
  • Peaked 1d ago at 1 mentions (2026-04-10); latest day: 1
  • 2 total mentions across 2 days

Affected systems

Vendors
Products
phpseclib

Deep dive

Activity timeline2 mentions / 2d
00111Mentions · 2026-04-10: 1Mentions · 2026-04-28: 1Patch / Workaround · 2026-04-10: 1Technical Details · 2026-04-10: 1Technical Details · 2026-04-28: 104-1004-28
Signal classification1 categories
Disclosure
2100.0%
Referenced assets2 URLs
Full discourse2 posts
  • cvereports@_cvereports
    Disclosure

    CVE-2026-40194: CVE-2026-40194: Observable Timing Discrepancy in phpseclib SSH2 HMAC Verification CVE-2026-40194 identifies a timing side-channel vulnerability in the phpseclib library's SSH2 implementation. The vulnerability arises from the use of a ... https://cvereports.com/reports/CVE-2026-40194

    Post summary

    CVE‑2026‑40194 is a newly disclosed timing side‑channel vulnerability in the phpseclib SSH2 HMAC verification process, with no PoC, exploit code, patch, or active exploitation reported at this time.

    0000024
    36 followersView on X
  • CVE@CVEnew
    Disclosure

    CVE-2026-40194 phpseclib is a PHP secure communications library. 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 rec… https://www.cve.org/CVERecord?id=CVE-2026-40194

    Post summary

    The text discloses technical details of CVE-2026-40194, a flaw in phpseclib’s SSH2 packet handling, and notes that versions 3.0.51, 2.0.53, and 1.0.28 address the issue.

    0000059
    57.0K followersView on X
CPE platform detail1 entries

1 of 1 entries

PartVendorProductVersionTarget SWTarget HW
Appphpseclibphpseclib---

Explore more