
Catálogo de CVE
CVE-2026-40194
phpseclib is a PHP secure communications library…
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.
- Gravidade
- High · CVSS 8.2
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.36% · Oct 27, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debiantrixie | php-phpseclib | 2.0.48-3+deb13u2 | FixedDistribution-reported fixed boundary | [CVE-2026-40194] |
| Debiantrixie | php-phpseclib | 2.0.48-3+deb13u3 | Fixed | [CVE-2026-40194] |
| Debiantrixie | php-phpseclib3 | 3.0.43-2+deb13u2 | FixedDistribution-reported fixed boundary | [CVE-2026-40194] |
| Debiantrixie | php-phpseclib3 | 3.0.43-2+deb13u3 | Fixed | [CVE-2026-40194] |
| Debiantrixie | phpseclib | 1.0.23-6+deb13u2 | FixedDistribution-reported fixed boundary | [CVE-2026-40194] |
| Debiantrixie | phpseclib | 1.0.23-6+deb13u3 | Fixed | [CVE-2026-40194] |
| Debiansid | php-phpseclib | 2.0.53-1 | FixedDistribution-reported fixed boundary | [CVE-2026-40194] |
| Debiansid | php-phpseclib | 2.0.55-1 | Fixed | [CVE-2026-40194] |
| Debiansid | php-phpseclib3 | 3.0.51-1 | FixedDistribution-reported fixed boundary | [CVE-2026-40194] |
| Debiansid | php-phpseclib3 | 3.0.57-1 | Fixed | [CVE-2026-40194] |
| Debiansid | phpseclib | 1.0.28-1 | FixedDistribution-reported fixed boundary | [CVE-2026-40194] |
| Debiansid | phpseclib | 1.0.30-1 | Fixed | [CVE-2026-40194] |
Showing 12 fix observations. All 32 observations, including unknown and conflicting reports, are available below.
Provider details and historical evidence
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| UnknownRelease not reported | phpseclib | Not reported | UnknownSource applicability is not established | Provider not reported |
| UnknownRelease not reported | phpseclib | 2.0.53 | UnknownSource applicability is not established | Provider not reported |
| UnknownRelease not reported | phpseclib | 3.0.51 | UnknownSource applicability is not established | Provider not reported |
| Debianbookworm | php-phpseclib | 2.0.42-1+deb12u4 | FixedDistribution-reported fixed boundary | [CVE-2026-40194] |
| Debianbookworm | php-phpseclib | 2.0.42-1+deb12u5 | Fixed | [CVE-2026-40194] |
| Debianbookworm | php-phpseclib3 | 3.0.19-1+deb12u5 | FixedDistribution-reported fixed boundary | [CVE-2026-40194] |
| Debianbookworm | php-phpseclib3 | 3.0.19-1+deb12u6 | Fixed | [CVE-2026-40194] |
| Debianbookworm | phpseclib | 1.0.20-1+deb12u4 | FixedDistribution-reported fixed boundary | [CVE-2026-40194] |
| Debianbookworm | phpseclib | 1.0.20-1+deb12u5 | Fixed | [CVE-2026-40194] |
| Debianbookworm-security | php-phpseclib | 2.0.42-1+deb12u3 | Affected | [CVE-2026-40194] |
| Debianbookworm-security | php-phpseclib3 | 3.0.19-1+deb12u4 | Affected | [CVE-2026-40194] |
| Debianbookworm-security | phpseclib | 1.0.20-1+deb12u3 | Affected | [CVE-2026-40194] |
| Debianforky | php-phpseclib | 2.0.53-1 | FixedDistribution-reported fixed boundary | [CVE-2026-40194] |
| Debianforky | php-phpseclib | 2.0.55-1 | Fixed | [CVE-2026-40194] |
| Debianforky | php-phpseclib3 | 3.0.51-1 | FixedDistribution-reported fixed boundary | [CVE-2026-40194] |
| Debianforky | php-phpseclib3 | 3.0.57-1 | Fixed | [CVE-2026-40194] |
| Debiansid | php-phpseclib | 2.0.53-1 | FixedDistribution-reported fixed boundary | [CVE-2026-40194] |
| Debiansid | php-phpseclib | 2.0.55-1 | Fixed | [CVE-2026-40194] |
| Debiansid | php-phpseclib3 | 3.0.51-1 | FixedDistribution-reported fixed boundary | [CVE-2026-40194] |
| Debiansid | php-phpseclib3 | 3.0.57-1 | Fixed | [CVE-2026-40194] |
| Debiansid | phpseclib | 1.0.28-1 | FixedDistribution-reported fixed boundary | [CVE-2026-40194] |
| Debiansid | phpseclib | 1.0.30-1 | Fixed | [CVE-2026-40194] |
| Debiantrixie | php-phpseclib | 2.0.48-3+deb13u2 | FixedDistribution-reported fixed boundary | [CVE-2026-40194] |
| Debiantrixie | php-phpseclib | 2.0.48-3+deb13u3 | Fixed | [CVE-2026-40194] |
| Debiantrixie | php-phpseclib3 | 3.0.43-2+deb13u2 | FixedDistribution-reported fixed boundary | [CVE-2026-40194] |
| Debiantrixie | php-phpseclib3 | 3.0.43-2+deb13u3 | Fixed | [CVE-2026-40194] |
| Debiantrixie | phpseclib | 1.0.23-6+deb13u2 | FixedDistribution-reported fixed boundary | [CVE-2026-40194] |
| Debiantrixie | phpseclib | 1.0.23-6+deb13u3 | Fixed | [CVE-2026-40194] |
| Debiantrixie-security | php-phpseclib | 2.0.48-3+deb13u1 | Affected | [CVE-2026-40194] |
| Debiantrixie-security | php-phpseclib3 | 3.0.43-2+deb13u1 | Affected | [CVE-2026-40194] |
| Debiantrixie-security | phpseclib | 1.0.23-6+deb13u1 | Affected | [CVE-2026-40194] |
| Ubuntunoble | php-phpseclib | 2.0.47-1ubuntu0.1~esm1 | UnknownSource applicability is not established | Provider not reported |
Original provider fields
{
"package_releases": [
{
"name": "phpseclib",
"status": "fixed",
"release": "sid",
"version": "1.0.30-1"
},
{
"name": "phpseclib",
"status": "fixed",
"release": "trixie",
"version": "1.0.23-6+deb13u3"
},
{
"name": "phpseclib",
"status": "vulnerable",
"release": "trixie-security",
"version": "1.0.23-6+deb13u1"
},
{
"name": "phpseclib",
"status": "fixed",
"release": "bookworm",
"version": "1.0.20-1+deb12u5"
},
{
"name": "phpseclib",
"status": "vulnerable",
"release": "bookworm-security",
"version": "1.0.20-1+deb12u3"
},
{
"name": "php-phpseclib",
"status": "fixed",
"release": "sid",
"version": "2.0.55-1"
},
{
"name": "php-phpseclib",
"status": "fixed",
"release": "forky",
"version": "2.0.55-1"
},
{
"name": "php-phpseclib",
"status": "fixed",
"release": "trixie",
"version": "2.0.48-3+deb13u3"
},
{
"name": "php-phpseclib",
"status": "vulnerable",
"release": "trixie-security",
"version": "2.0.48-3+deb13u1"
},
{
"name": "php-phpseclib",
"status": "fixed",
"release": "bookworm",
"version": "2.0.42-1+deb12u5"
},
{
"name": "php-phpseclib",
"status": "vulnerable",
"release": "bookworm-security",
"version": "2.0.42-1+deb12u3"
},
{
"name": "php-phpseclib3",
"status": "fixed",
"release": "sid",
"version": "3.0.57-1"
},
{
"name": "php-phpseclib3",
"status": "fixed",
"release": "forky",
"version": "3.0.57-1"
},
{
"name": "php-phpseclib3",
"status": "fixed",
"release": "trixie",
"version": "3.0.43-2+deb13u3"
},
{
"name": "php-phpseclib3",
"status": "vulnerable",
"release": "trixie-security",
"version": "3.0.43-2+deb13u1"
},
{
"name": "php-phpseclib3",
"status": "fixed",
"release": "bookworm",
"version": "3.0.19-1+deb12u6"
},
{
"name": "php-phpseclib3",
"status": "vulnerable",
"release": "bookworm-security",
"version": "3.0.19-1+deb12u4"
}
],
"fixed_versions": [
{
"bug": null,
"name": "phpseclib",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "not yet assigned",
"fixed_version": "1.0.28-1"
},
{
"bug": null,
"name": "phpseclib",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "not yet assigned",
"fixed_version": "1.0.23-6+deb13u2"
},
{
"bug": null,
"name": "phpseclib",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "not yet assigned",
"fixed_version": "1.0.20-1+deb12u4"
},
{
"bug": null,
"name": "php-phpseclib",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "not yet assigned",
"fixed_version": "2.0.53-1"
},
{
"bug": null,
"name": "php-phpseclib",
"type": "source",
"origin": null,
"release": "forky",
"urgency": "not yet assigned",
"fixed_version": "2.0.53-1"
},
{
"bug": null,
"name": "php-phpseclib",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "not yet assigned",
"fixed_version": "2.0.48-3+deb13u2"
},
{
"bug": null,
"name": "php-phpseclib",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "not yet assigned",
"fixed_version": "2.0.42-1+deb12u4"
},
{
"bug": null,
"name": "php-phpseclib3",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "not yet assigned",
"fixed_version": "3.0.51-1"
},
{
"bug": null,
"name": "php-phpseclib3",
"type": "source",
"origin": null,
"release": "forky",
"urgency": "not yet assigned",
"fixed_version": "3.0.51-1"
},
{
"bug": null,
"name": "php-phpseclib3",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "not yet assigned",
"fixed_version": "3.0.43-2+deb13u2"
},
{
"bug": null,
"name": "php-phpseclib3",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "not yet assigned",
"fixed_version": "3.0.19-1+deb12u5"
}
],
"distribution_packages": [
{
"name": "phpseclib",
"fixed_version": "",
"applicability_unknown": true
},
{
"name": "phpseclib",
"fixed_version": "2.0.53",
"applicability_unknown": true
},
{
"name": "phpseclib",
"fixed_version": "3.0.51",
"applicability_unknown": true
},
{
"name": "php-phpseclib",
"distro": "ubuntu",
"ranges": [
{
"fixed": "2.0.47-1ubuntu0.1~esm1",
"introduced": "0"
}
],
"release": "noble",
"ecosystem": "deb",
"fixed_version": "2.0.47-1ubuntu0.1~esm1",
"applicability_unknown": true
}
]
}OpenFactory catalog packages
A associação de pacotes está em andamento.
[Debian 12 (Bookworm)]
- [php-phpseclib]Desconhecido
Detalhes (4)
2.0.42-1+deb12u5· all · bookwormCorrigida · Corrigida:
2.0.42-1+deb12u4nvd · php-phpseclib · debian · bookworm; nvd · php-phpseclib · debian · 12
2.0.42-1+deb12u5· all · bookwormCorrigida · Corrigida:
2.0.42-1+deb12u4nvd · php-phpseclib · debian · bookworm; nvd · php-phpseclib · debian · 12
2.0.42-1+deb12u3· all · bookworm-securityAfetada · Corrigida:
2.0.42-1+deb12u4nvd · php-phpseclib · debian · bookworm; nvd · php-phpseclib · debian · 12
2.0.42-1+deb12u3· all · bookworm-securityAfetada · Corrigida:
2.0.42-1+deb12u4nvd · php-phpseclib · debian · bookworm; nvd · php-phpseclib · debian · 12
- [php-phpseclib3]Desconhecido
Detalhes (4)
3.0.19-1+deb12u6· all · bookwormCorrigida · Corrigida:
3.0.19-1+deb12u5nvd · php-phpseclib3 · debian · bookworm; nvd · php-phpseclib3 · debian · 12
3.0.19-1+deb12u6· all · bookwormCorrigida · Corrigida:
3.0.19-1+deb12u5nvd · php-phpseclib3 · debian · bookworm; nvd · php-phpseclib3 · debian · 12
3.0.19-1+deb12u4· all · bookworm-securityAfetada · Corrigida:
3.0.19-1+deb12u5nvd · php-phpseclib3 · debian · bookworm; nvd · php-phpseclib3 · debian · 12
3.0.19-1+deb12u4· all · bookworm-securityAfetada · Corrigida:
3.0.19-1+deb12u5nvd · php-phpseclib3 · debian · bookworm; nvd · php-phpseclib3 · debian · 12
- [php-seclib]Desconhecido
Pacote fonte: [phpseclib]
Detalhes (4)
1.0.20-1+deb12u5· all · bookwormCorrigida · Corrigida:
1.0.20-1+deb12u4nvd · phpseclib · debian · bookworm; nvd · phpseclib · debian · 12
1.0.20-1+deb12u5· all · bookwormCorrigida · Corrigida:
1.0.20-1+deb12u4nvd · phpseclib · debian · bookworm; nvd · phpseclib · debian · 12
1.0.20-1+deb12u3· all · bookworm-securityAfetada · Corrigida:
1.0.20-1+deb12u4nvd · phpseclib · debian · bookworm; nvd · phpseclib · debian · 12
1.0.20-1+deb12u3· all · bookworm-securityAfetada · Corrigida:
1.0.20-1+deb12u4nvd · phpseclib · debian · bookworm; nvd · phpseclib · debian · 12
[Debian 13 (Trixie)]
- [php-phpseclib]Desconhecido
Detalhes (4)
2.0.48-3+deb13u3· all · trixieCorrigida · Corrigida:
2.0.48-3+deb13u2nvd · php-phpseclib · debian · 13
2.0.48-3+deb13u3· all · trixieCorrigida · Corrigida:
2.0.48-3+deb13u2nvd · php-phpseclib · debian · 13
2.0.48-3+deb13u1· all · trixie-securityAfetada · Corrigida:
2.0.48-3+deb13u2nvd · php-phpseclib · debian · 13
2.0.48-3+deb13u1· all · trixie-securityAfetada · Corrigida:
2.0.48-3+deb13u2nvd · php-phpseclib · debian · 13
- [php-phpseclib3]Desconhecido
Detalhes (4)
3.0.43-2+deb13u3· all · trixieCorrigida · Corrigida:
3.0.43-2+deb13u2nvd · php-phpseclib3 · debian · 13
3.0.43-2+deb13u3· all · trixieCorrigida · Corrigida:
3.0.43-2+deb13u2nvd · php-phpseclib3 · debian · 13
3.0.43-2+deb13u1· all · trixie-securityAfetada · Corrigida:
3.0.43-2+deb13u2nvd · php-phpseclib3 · debian · 13
3.0.43-2+deb13u1· all · trixie-securityAfetada · Corrigida:
3.0.43-2+deb13u2nvd · php-phpseclib3 · debian · 13
- [php-seclib]Desconhecido
Pacote fonte: [phpseclib]
Detalhes (4)
1.0.23-6+deb13u3· all · trixieCorrigida · Corrigida:
1.0.23-6+deb13u2nvd · phpseclib · debian · 13
1.0.23-6+deb13u3· all · trixieCorrigida · Corrigida:
1.0.23-6+deb13u2nvd · phpseclib · debian · 13
1.0.23-6+deb13u1· all · trixie-securityAfetada · Corrigida:
1.0.23-6+deb13u2nvd · phpseclib · debian · 13
1.0.23-6+deb13u1· all · trixie-securityAfetada · Corrigida:
1.0.23-6+deb13u2nvd · phpseclib · debian · 13
Observado:
Referências
- [https://nvd.nist.gov/vuln/detail/CVE-2026-40194]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-40194]
- [https://security-tracker.debian.org/tracker/CVE-2026-40194]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40194.json]
- [https://ubuntu.com/security/notices/USN-8830-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1931.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [Ubuntu Security Notices (USN)]