{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-102822","id":"CVE-2026-102822","title":"russh: negotiating a MAC-requiring block cipher (CTR/CBC) with mac=none causes a slice-index-out-of-range panic","description":"Russh is a Rust SSH client and server library. Prior to 0.63.1, a connection configured to permit mac=none can negotiate it with a MAC-requiring CTR or CBC block cipher because the selection logic validates needs_mac() only when MAC selection fails. A remote peer can then send a packet with a decrypted length of zero, causing russh/src/cipher/mod.rs to shrink the previously read block before index","descriptionLong":"Russh is a Rust SSH client and server library. Prior to 0.63.1, a connection configured to permit mac=none can negotiate it with a MAC-requiring CTR or CBC block cipher because the selection logic validates needs_mac() only when MAC selection fails. A remote peer can then send a packet with a decrypted length of zero, causing russh/src/cipher/mod.rs to shrink the previously read block before indexing buffer.buffer[16..], which panics and terminates the connection task. This issue is fixed in version 0.63.1.","published":"2026-09-29T18:23:28.061Z","updated":"2026-10-28T02:31:10.270459832Z","reserved":"2026-09-29T17:25:25.265Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"low","source":"GitHub_M"},"metrics":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"low","source":"GitHub_M"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"low","source":"github.com"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"low","source":"OSV"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"low","source":"GitHub"}],"rating":"low","products":["Eugeny russh"],"affectedProducts":[{"vendor":"Eugeny","product":"russh","defaultStatus":null,"versions":[{"version":"< 0.63.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"russh","purl":"pkg:cargo/russh","ranges":["<0.63.1"],"fixed":["0.63.1"],"advisory":"GHSA-p8qx-h547-fjw9"}],"cwes":["CWE-129"],"aliases":["GHSA-p8qx-h547-fjw9"],"references":[{"url":"https://github.com/Eugeny/russh/security/advisories/GHSA-p8qx-h547-fjw9","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/Eugeny/russh/commit/2885385abfee279092a41d80c6cb6ac367353159","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/Eugeny/russh/releases/tag/v0.63.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102822.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102822","tags":["advisory"]},{"url":"https://github.com/Eugeny/russh","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00327,"epssPercentile":0.26273,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-102822","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102822","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-102822","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-p8qx-h547-fjw9","ok":true,"note":"GHSA-p8qx-h547-fjw9"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-102822","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}