SCA: security update for phpseclib/phpseclib (GHSA-r854-jrxh-36qx)

low Tenable Self-Hosted Container Security Plugin ID 441563

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-40194)

Solution

Update the phpseclib/phpseclib library and its related packages to version 1.0.28 or later.

See Also

https://github.com/advisories/GHSA-r854-jrxh-36qx

Plugin Details

Severity: Low

ID: 441563

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 5/8/2026

Updated: 6/23/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Low

CVSS v2

Risk Factor: Low

Base Score: 2.6

Temporal Score: 1.9

Vector: CVSS2#AV:N/AC:H/Au:N/C:P/I:N/A:N

CVSS Score Source: CVE-2026-40194

CVSS v3

Risk Factor: Low

Base Score: 3.7

Temporal Score: 3.2

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/10/2026

Vulnerability Publication Date: 4/10/2026

Reference Information

CVE: CVE-2026-40194

cwe: CWE-208