{"schemaVersion":3,"id":"CVE-2026-40194","aliases":["UBUNTU-CVE-2026-40194","DEBIAN-CVE-2026-40194","CGA-89qq-r89v-24gj","CGA-cf7r-jpm7-79wj","CGA-gjm9-c463-w627","CGA-pc99-pmm5-3pfj","CGA-2w7h-ghmh-72rw","CGA-9mq3-gfpc-6442","CGA-vfmp-xxmf-qwcw","CGA-xhmh-v7jh-gr2g"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2026-04-10T20:24:06.696Z","modified":"2026-05-08T15:18:43.231Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":3.7,"severity":"low","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":5.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":5.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":5.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":5.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00367,"percentile":0.29273,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.006000000000000016,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00361},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00367,"percentile":0.29273}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00361,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00367,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00367,"percentile":0.29273}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-208","name":"Observable Timing Discrepancy","description":"Two separate operations in a product require different amounts of time to complete, in a way that is observable to an actor and reveals security-relevant information about the state of the product, such as whether a particular operation was successful or not.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/208.html"}],"affected":[{"vendor":"chainguard","product":"nextcloud-server-30","name":"nextcloud-server-30","label":"nextcloud-server-30","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/nextcloud-server-30","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"nextcloud-server-31","name":"nextcloud-server-31","label":"nextcloud-server-31","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/nextcloud-server-31","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"nextcloud-server-32","name":"nextcloud-server-32","label":"nextcloud-server-32","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/nextcloud-server-32","purlType":"apk","versions":[{"text":"< 32.0.8-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 32.0.8-r2","eol":null,"hubHref":null},{"vendor":"chainguard","product":"nextcloud-server-33","name":"nextcloud-server-33","label":"nextcloud-server-33","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/nextcloud-server-33","purlType":"apk","versions":[{"text":"< 33.0.3-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 33.0.3-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"nextcloud-server-32","name":"nextcloud-server-32","label":"nextcloud-server-32","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/nextcloud-server-32","purlType":"apk","versions":[{"text":"< 32.0.8-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 32.0.8-r2","eol":null,"hubHref":null},{"vendor":"wolfi","product":"nextcloud-server-33","name":"nextcloud-server-33","label":"nextcloud-server-33","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/nextcloud-server-33","purlType":"apk","versions":[{"text":"< 33.0.3-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 33.0.3-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"php-phpseclib","name":"php-phpseclib","label":"php-phpseclib","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/php-phpseclib","purlType":"deb","versions":[{"text":"< 2.0.42-1+deb12u4","noFixRecorded":false,"fixedIn":null},{"text":"< 2.0.48-3+deb13u2","noFixRecorded":false,"fixedIn":null},{"text":"< 2.0.53-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.42-1+deb12u4 | < 2.0.48-3+deb13u2 | < 2.0.53-1","eol":null,"hubHref":null},{"vendor":"debian","product":"php-phpseclib3","name":"php-phpseclib3","label":"php-phpseclib3","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/php-phpseclib3","purlType":"deb","versions":[{"text":"< 3.0.19-1+deb12u5","noFixRecorded":false,"fixedIn":null},{"text":"< 3.0.43-2+deb13u2","noFixRecorded":false,"fixedIn":null},{"text":"< 3.0.51-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.0.19-1+deb12u5 | < 3.0.43-2+deb13u2 | < 3.0.51-1","eol":null,"hubHref":null},{"vendor":"debian","product":"phpseclib","name":"phpseclib","label":"phpseclib","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/phpseclib","purlType":"deb","versions":[{"text":"< 1.0.20-1+deb12u4","noFixRecorded":false,"fixedIn":null},{"text":"< 1.0.23-6+deb13u2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.0.20-1+deb12u4 | < 1.0.23-6+deb13u2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"php-phpseclib","name":"php-phpseclib","label":"php-phpseclib","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php-phpseclib","purlType":"deb","versions":[{"text":"< 2.0.1-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.0.9-1ubuntu0.1~esm3","noFixRecorded":false,"fixedIn":null},{"text":"< 2.0.23-2ubuntu0.1~esm3","noFixRecorded":false,"fixedIn":null},{"text":"< 2.0.36-1ubuntu0.1~esm3","noFixRecorded":false,"fixedIn":null},{"text":"< 2.0.47-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 2.0.51-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.1-1ubuntu0.1~esm1 | < 2.0.9-1ubuntu0.1~esm3 | < 2.0.23-2ubuntu0.1~esm3 | < 2.0.36-1ubuntu0.1~esm3 | < 2.0.47-1ubuntu0.1~esm1 | All versions (No fix recorded) | < 2.0.51-1ubuntu0.1~esm1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"php-phpseclib3","name":"php-phpseclib3","label":"php-phpseclib3","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php-phpseclib3","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"phpseclib","name":"phpseclib","label":"phpseclib","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/phpseclib","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"phpseclib","product":"phpseclib","name":"phpseclib","label":"phpseclib","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.1.1, < 1.0.28","noFixRecorded":false,"fixedIn":null},{"text":"≤ 1.0.27","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0, < 2.0.53","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.0, < 3.0.51","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.1.1, < 1.0.28 | ≤ 1.0.27 | ≥ 2.0.0, < 2.0.53 | ≥ 3.0.0, < 3.0.51","eol":null,"hubHref":"/vendor/phpseclib/phpseclib"}],"affectedCount":13,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/phpseclib/phpseclib/security/advisories/GHSA-r854-jrxh-36qx","label":"github.com/phpseclib/phpseclib/security/advisories/GHSA-r854-jrxh-36qx","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Advisory","Vendor Advisory"]},{"url":"https://github.com/phpseclib/phpseclib/commit/ffe48b6b1b1af6963327f0a5330e3aa004a194ac","label":"github.com/phpseclib/phpseclib/commit/ffe48b6b1b1af6963327f0a5330e3aa004a194ac","hostname":"github.com","tags":["X Refsource MISC","REPORT","FIX","Patch"]},{"url":"https://github.com/phpseclib/phpseclib/releases/tag/1.0.28","label":"github.com/phpseclib/phpseclib/releases/tag/1.0.28","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Release Notes"]},{"url":"https://github.com/phpseclib/phpseclib/releases/tag/2.0.53","label":"github.com/phpseclib/phpseclib/releases/tag/2.0.53","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Release Notes"]},{"url":"https://github.com/phpseclib/phpseclib/releases/tag/3.0.51","label":"github.com/phpseclib/phpseclib/releases/tag/3.0.51","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Release Notes"]},{"url":"https://ubuntu.com/security/CVE-2026-40194","label":"ubuntu.com/security/CVE-2026-40194","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-40194","label":"www.cve.org/CVERecord?id=CVE-2026-40194","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8830-1","label":"ubuntu.com/security/notices/USN-8830-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-40194","label":"security-tracker.debian.org/tracker/CVE-2026-40194","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40194.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40194.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40194","label":"nvd.nist.gov/vuln/detail/CVE-2026-40194","hostname":"nvd.nist.gov","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["USN-8830-1"],"duplicates":[],"related":["CGA-WFCR-9XQV-QR38","USN-8830-1"]},"timeline":[{"kind":"published","date":"2026-04-10T20:24:06.696Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-05-08T15:18:43.231Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":15,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T21:39:29.537Z","stale":false,"partial":false}}