Skip to main content
CVE-2026-40194VulnerabilityPublished Updated

Php phpseclib: Starting

Affects php-phpseclibSource GCVE Database

0
Compare
Authoritative record:CVE-2026-40194· Low 3.7

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

CVSS 3.1 base score
3.7Low
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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.

Affected software

ProductAffectedFixed in
Ubuntu 26.10php-phpseclib3pkg:deb/ubuntu/php-phpseclib3?arch=source&distro=stonkingOther threatsAffected
  • =3.0.49-1ubuntu1
  • =3.0.57-1
Fixed in–
Ubuntu 26.10phpseclibpkg:deb/ubuntu/phpseclib?arch=source&distro=stonkingOther threatsAffected
  • =1.0.24-1
  • =1.0.29-1
  • =1.0.30-1
Fixed in–
Ubuntu 26.04 LTSphp-phpseclib3pkg:deb/ubuntu/php-phpseclib3?arch=source&distro=resoluteOther threatsAffected
  • 3.0.43-2 – 3.0.49-1ubuntu1
5 affected builds
Fixed in–
Ubuntu Pro 26.04 LTSphp-phpseclibpkg:deb/ubuntu/php-phpseclib?arch=source&distro=esm-apps/resoluteOther threatsAffected
  • <2.0.51-1ubuntu0.1~esm1
Fixed in
  • 2.0.51-1ubuntu0.1~esm1
Ubuntu Pro 26.04 LTSphpseclibpkg:deb/ubuntu/phpseclib?arch=source&distro=esm-apps/resoluteOther threatsAffected
  • =1.0.23-6
  • =1.0.24-1
  • =1.0.24-1ubuntu0.1~esm1
Fixed in–
Ubuntu 25.10php-phpseclibpkg:deb/ubuntu/php-phpseclib?arch=source&distro=questingOther threatsAffected
  • =2.0.48-3
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

Community reviews

Loading reviews…