Catálogo de CVE

CVE-2026-40194

phpseclib is a PHP secure communications library…

[Catálogo de 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.

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 / releasePackageVersionStatusSource
Debiantrixiephp-phpseclib2.0.48-3+deb13u2FixedDistribution-reported fixed boundary[CVE-2026-40194]
Debiantrixiephp-phpseclib2.0.48-3+deb13u3Fixed[CVE-2026-40194]
Debiantrixiephp-phpseclib33.0.43-2+deb13u2FixedDistribution-reported fixed boundary[CVE-2026-40194]
Debiantrixiephp-phpseclib33.0.43-2+deb13u3Fixed[CVE-2026-40194]
Debiantrixiephpseclib1.0.23-6+deb13u2FixedDistribution-reported fixed boundary[CVE-2026-40194]
Debiantrixiephpseclib1.0.23-6+deb13u3Fixed[CVE-2026-40194]
Debiansidphp-phpseclib2.0.53-1FixedDistribution-reported fixed boundary[CVE-2026-40194]
Debiansidphp-phpseclib2.0.55-1Fixed[CVE-2026-40194]
Debiansidphp-phpseclib33.0.51-1FixedDistribution-reported fixed boundary[CVE-2026-40194]
Debiansidphp-phpseclib33.0.57-1Fixed[CVE-2026-40194]
Debiansidphpseclib1.0.28-1FixedDistribution-reported fixed boundary[CVE-2026-40194]
Debiansidphpseclib1.0.30-1Fixed[CVE-2026-40194]

Showing 12 fix observations. All 32 observations, including unknown and conflicting reports, are available below.

Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
UnknownRelease not reportedphpseclibNot reportedUnknownSource applicability is not establishedProvider not reported
UnknownRelease not reportedphpseclib2.0.53UnknownSource applicability is not establishedProvider not reported
UnknownRelease not reportedphpseclib3.0.51UnknownSource applicability is not establishedProvider not reported
Debianbookwormphp-phpseclib2.0.42-1+deb12u4FixedDistribution-reported fixed boundary[CVE-2026-40194]
Debianbookwormphp-phpseclib2.0.42-1+deb12u5Fixed[CVE-2026-40194]
Debianbookwormphp-phpseclib33.0.19-1+deb12u5FixedDistribution-reported fixed boundary[CVE-2026-40194]
Debianbookwormphp-phpseclib33.0.19-1+deb12u6Fixed[CVE-2026-40194]
Debianbookwormphpseclib1.0.20-1+deb12u4FixedDistribution-reported fixed boundary[CVE-2026-40194]
Debianbookwormphpseclib1.0.20-1+deb12u5Fixed[CVE-2026-40194]
Debianbookworm-securityphp-phpseclib2.0.42-1+deb12u3Affected[CVE-2026-40194]
Debianbookworm-securityphp-phpseclib33.0.19-1+deb12u4Affected[CVE-2026-40194]
Debianbookworm-securityphpseclib1.0.20-1+deb12u3Affected[CVE-2026-40194]
Debianforkyphp-phpseclib2.0.53-1FixedDistribution-reported fixed boundary[CVE-2026-40194]
Debianforkyphp-phpseclib2.0.55-1Fixed[CVE-2026-40194]
Debianforkyphp-phpseclib33.0.51-1FixedDistribution-reported fixed boundary[CVE-2026-40194]
Debianforkyphp-phpseclib33.0.57-1Fixed[CVE-2026-40194]
Debiansidphp-phpseclib2.0.53-1FixedDistribution-reported fixed boundary[CVE-2026-40194]
Debiansidphp-phpseclib2.0.55-1Fixed[CVE-2026-40194]
Debiansidphp-phpseclib33.0.51-1FixedDistribution-reported fixed boundary[CVE-2026-40194]
Debiansidphp-phpseclib33.0.57-1Fixed[CVE-2026-40194]
Debiansidphpseclib1.0.28-1FixedDistribution-reported fixed boundary[CVE-2026-40194]
Debiansidphpseclib1.0.30-1Fixed[CVE-2026-40194]
Debiantrixiephp-phpseclib2.0.48-3+deb13u2FixedDistribution-reported fixed boundary[CVE-2026-40194]
Debiantrixiephp-phpseclib2.0.48-3+deb13u3Fixed[CVE-2026-40194]
Debiantrixiephp-phpseclib33.0.43-2+deb13u2FixedDistribution-reported fixed boundary[CVE-2026-40194]
Debiantrixiephp-phpseclib33.0.43-2+deb13u3Fixed[CVE-2026-40194]
Debiantrixiephpseclib1.0.23-6+deb13u2FixedDistribution-reported fixed boundary[CVE-2026-40194]
Debiantrixiephpseclib1.0.23-6+deb13u3Fixed[CVE-2026-40194]
Debiantrixie-securityphp-phpseclib2.0.48-3+deb13u1Affected[CVE-2026-40194]
Debiantrixie-securityphp-phpseclib33.0.43-2+deb13u1Affected[CVE-2026-40194]
Debiantrixie-securityphpseclib1.0.23-6+deb13u1Affected[CVE-2026-40194]
Ubuntunoblephp-phpseclib2.0.47-1ubuntu0.1~esm1UnknownSource applicability is not establishedProvider 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 · bookworm

      Corrigida · Corrigida: 2.0.42-1+deb12u4

      nvd · php-phpseclib · debian · bookworm; nvd · php-phpseclib · debian · 12

    • 2.0.42-1+deb12u5 · all · bookworm

      Corrigida · Corrigida: 2.0.42-1+deb12u4

      nvd · php-phpseclib · debian · bookworm; nvd · php-phpseclib · debian · 12

    • 2.0.42-1+deb12u3 · all · bookworm-security

      Afetada · Corrigida: 2.0.42-1+deb12u4

      nvd · php-phpseclib · debian · bookworm; nvd · php-phpseclib · debian · 12

    • 2.0.42-1+deb12u3 · all · bookworm-security

      Afetada · Corrigida: 2.0.42-1+deb12u4

      nvd · php-phpseclib · debian · bookworm; nvd · php-phpseclib · debian · 12

  • [php-phpseclib3]Desconhecido
    Detalhes (4)
    • 3.0.19-1+deb12u6 · all · bookworm

      Corrigida · Corrigida: 3.0.19-1+deb12u5

      nvd · php-phpseclib3 · debian · bookworm; nvd · php-phpseclib3 · debian · 12

    • 3.0.19-1+deb12u6 · all · bookworm

      Corrigida · Corrigida: 3.0.19-1+deb12u5

      nvd · php-phpseclib3 · debian · bookworm; nvd · php-phpseclib3 · debian · 12

    • 3.0.19-1+deb12u4 · all · bookworm-security

      Afetada · Corrigida: 3.0.19-1+deb12u5

      nvd · php-phpseclib3 · debian · bookworm; nvd · php-phpseclib3 · debian · 12

    • 3.0.19-1+deb12u4 · all · bookworm-security

      Afetada · Corrigida: 3.0.19-1+deb12u5

      nvd · php-phpseclib3 · debian · bookworm; nvd · php-phpseclib3 · debian · 12

  • [php-seclib]Desconhecido

    Pacote fonte: [phpseclib]

    Detalhes (4)
    • 1.0.20-1+deb12u5 · all · bookworm

      Corrigida · Corrigida: 1.0.20-1+deb12u4

      nvd · phpseclib · debian · bookworm; nvd · phpseclib · debian · 12

    • 1.0.20-1+deb12u5 · all · bookworm

      Corrigida · Corrigida: 1.0.20-1+deb12u4

      nvd · phpseclib · debian · bookworm; nvd · phpseclib · debian · 12

    • 1.0.20-1+deb12u3 · all · bookworm-security

      Afetada · Corrigida: 1.0.20-1+deb12u4

      nvd · phpseclib · debian · bookworm; nvd · phpseclib · debian · 12

    • 1.0.20-1+deb12u3 · all · bookworm-security

      Afetada · Corrigida: 1.0.20-1+deb12u4

      nvd · phpseclib · debian · bookworm; nvd · phpseclib · debian · 12

[Debian 13 (Trixie)]

  • [php-phpseclib]Desconhecido
    Detalhes (4)
    • 2.0.48-3+deb13u3 · all · trixie

      Corrigida · Corrigida: 2.0.48-3+deb13u2

      nvd · php-phpseclib · debian · 13

    • 2.0.48-3+deb13u3 · all · trixie

      Corrigida · Corrigida: 2.0.48-3+deb13u2

      nvd · php-phpseclib · debian · 13

    • 2.0.48-3+deb13u1 · all · trixie-security

      Afetada · Corrigida: 2.0.48-3+deb13u2

      nvd · php-phpseclib · debian · 13

    • 2.0.48-3+deb13u1 · all · trixie-security

      Afetada · Corrigida: 2.0.48-3+deb13u2

      nvd · php-phpseclib · debian · 13

  • [php-phpseclib3]Desconhecido
    Detalhes (4)
    • 3.0.43-2+deb13u3 · all · trixie

      Corrigida · Corrigida: 3.0.43-2+deb13u2

      nvd · php-phpseclib3 · debian · 13

    • 3.0.43-2+deb13u3 · all · trixie

      Corrigida · Corrigida: 3.0.43-2+deb13u2

      nvd · php-phpseclib3 · debian · 13

    • 3.0.43-2+deb13u1 · all · trixie-security

      Afetada · Corrigida: 3.0.43-2+deb13u2

      nvd · php-phpseclib3 · debian · 13

    • 3.0.43-2+deb13u1 · all · trixie-security

      Afetada · Corrigida: 3.0.43-2+deb13u2

      nvd · php-phpseclib3 · debian · 13

  • [php-seclib]Desconhecido

    Pacote fonte: [phpseclib]

    Detalhes (4)
    • 1.0.23-6+deb13u3 · all · trixie

      Corrigida · Corrigida: 1.0.23-6+deb13u2

      nvd · phpseclib · debian · 13

    • 1.0.23-6+deb13u3 · all · trixie

      Corrigida · Corrigida: 1.0.23-6+deb13u2

      nvd · phpseclib · debian · 13

    • 1.0.23-6+deb13u1 · all · trixie-security

      Afetada · Corrigida: 1.0.23-6+deb13u2

      nvd · phpseclib · debian · 13

    • 1.0.23-6+deb13u1 · all · trixie-security

      Afetada · Corrigida: 1.0.23-6+deb13u2

      nvd · phpseclib · debian · 13

Observado:

Referências