Php phpseclib: Starting
Affects php-phpseclibSource GCVE Database
Not known to be exploited · CVSS 3.7 Low · fixed in 2.0.1-1ubuntu0.1~esm1 : update php-phpseclib when convenient.
Data as of 12 Nov 2026, 23:24 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 31% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.0.1-1ubuntu0.1~esm1, 2.0.9-1ubuntu0.1~esm3, 2.0.23-2ubuntu0.1~esm3 +3
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10php-phpseclib3pkg:deb/ubuntu/php-phpseclib3?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10phpseclibpkg:deb/ubuntu/phpseclib?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSphp-phpseclib3pkg:deb/ubuntu/php-phpseclib3?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu Pro 26.04 LTSphp-phpseclibpkg:deb/ubuntu/php-phpseclib?arch=source&distro=esm-apps/resoluteOther threats | Affected
| Fixed in
|
Ubuntu Pro 26.04 LTSphpseclibpkg:deb/ubuntu/phpseclib?arch=source&distro=esm-apps/resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10php-phpseclibpkg:deb/ubuntu/php-phpseclib?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available and has been released in phpseclib versions 3.0.51, 2.0.53, and 1.0.28. Ubuntu has published security updates for supported LTS releases, which should be applied to remediate this vulnerability. Users should update their php-phpseclib packages to the fixed versions as listed in the Ubuntu advisory USN-8830-1. No additional mitigation actions are required beyond applying these official patches.
Description
A timing side-channel vulnerability exists in phpseclib versions prior to 3.0.51, 2.0.53, and 1.0.28 in the Net\SSH2::get_binary_packet() function. The vulnerability arises because the library uses PHP's != operator for HMAC comparison, which performs a variable-time memcmp() operation. This can potentially allow an attacker to gain sensitive information through timing analysis. The issue is fixed in the specified patched versions. Ubuntu has released security updates addressing this vulnerability in various php-phpseclib package versions.
References
- ubuntu.com/security/CVE-2026-40194 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-40194 (opens in a new tab)
- github.com/phpseclib/phpseclib/security/advisories/GHSA-r854-jrxh-36qx (opens in a new tab)
- github.com/phpseclib/phpseclib/commit/ffe48b6b1b1af6963327f0a5330e3aa004a194ac (opens in a new tab)
- github.com/phpseclib/phpseclib/releases/tag/1.0.28 (opens in a new tab)
- github.com/phpseclib/phpseclib/releases/tag/2.0.53 (opens in a new tab)
- github.com/phpseclib/phpseclib/releases/tag/3.0.51 (opens in a new tab)
- ubuntu.com/security/notices/USN-8830-1 (opens in a new tab)