DEBIAN-CVE-2026-40194

Source
https://security-tracker.debian.org/tracker/CVE-2026-40194
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40194.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-40194
Upstream
Published
2026-04-10T21:16:27Z
Modified
2026-09-14T17:03:11Z
Severity
  • 3.7 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:12
php-phpseclib

Package

Name
php-phpseclib
Purl
pkg:deb/debian/php-phpseclib?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.0.42-1+deb12u4

Affected versions

2.*
2.0.42-1
2.0.42-1+deb12u1
2.0.42-1+deb12u2
2.0.42-1+deb12u3

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40194.json"
php-phpseclib3

Package

Name
php-phpseclib3
Purl
pkg:deb/debian/php-phpseclib3?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.0.19-1+deb12u5

Affected versions

3.*
3.0.19-1
3.0.19-1+deb12u1
3.0.19-1+deb12u2
3.0.19-1+deb12u3
3.0.19-1+deb12u4

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40194.json"
phpseclib

Package

Name
phpseclib
Purl
pkg:deb/debian/phpseclib?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.0.20-1+deb12u4

Affected versions

1.*
1.0.20-1
1.0.20-1+deb12u1
1.0.20-1+deb12u2
1.0.20-1+deb12u3

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40194.json"
Debian:13
php-phpseclib

Package

Name
php-phpseclib
Purl
pkg:deb/debian/php-phpseclib?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.0.48-3+deb13u2

Affected versions

2.*
2.0.48-3
2.0.48-3+deb13u1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40194.json"
php-phpseclib3

Package

Name
php-phpseclib3
Purl
pkg:deb/debian/php-phpseclib3?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.0.43-2+deb13u2

Affected versions

3.*
3.0.43-2
3.0.43-2+deb13u1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40194.json"
phpseclib

Package

Name
phpseclib
Purl
pkg:deb/debian/phpseclib?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.0.23-6+deb13u2

Affected versions

1.*
1.0.23-6
1.0.23-6+deb13u1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40194.json"
Debian:14
php-phpseclib

Package

Name
php-phpseclib
Purl
pkg:deb/debian/php-phpseclib?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.0.53-1

Affected versions

2.*
2.0.48-3
2.0.49-1
2.0.50-1
2.0.51-1
2.0.52-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40194.json"
php-phpseclib3

Package

Name
php-phpseclib3
Purl
pkg:deb/debian/php-phpseclib3?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.0.51-1

Affected versions

3.*
3.0.43-2
3.0.44-1
3.0.44-2
3.0.45-1
3.0.46-1
3.0.46-2
3.0.47-1
3.0.48-1
3.0.49-1
3.0.50-1

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40194.json"