{"schemaVersion":3,"id":"CVE-2026-102822","aliases":["GHSA-p8qx-h547-fjw9","DEBIAN-CVE-2026-102822","UBUNTU-CVE-2026-102822"],"status":"published","duplicateOf":null,"title":null,"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 indexing buffer.buffer[16..], which panics and terminates the connection task. This issue is fixed in version 0.63.1.","dates":{"published":"2026-09-29T18:23:28.061Z","modified":"2026-09-29T19:53:30.291Z","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:N/I:N/A:L","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:N/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Crates.io","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","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:N/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"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:N/I:N/A:L","exploitability":5.6,"impact":2.3,"computed":true},{"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:N/I:N/A:L","exploitability":5.6,"impact":2.3,"computed":true}]},"epss":{"probability":0.00327,"percentile":0.24296,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-09-30T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00327,"percentile":0.24296}],"last30":[{"date":"2026-09-30T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00327,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00327,"percentile":0.24296}]},"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-129","name":"Improper Validation of Array Index","description":"The product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure the index references a valid position within the array.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/129.html"}],"affected":[{"vendor":"Crates.Io","product":"russh","name":"russh","label":"russh","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/russh","purlType":"cargo","versions":[{"text":"< 0.63.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.63.1","eol":null,"hubHref":null},{"vendor":"debian","product":"rust-russh","name":"rust-russh","label":"rust-russh","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/rust-russh","purlType":"deb","versions":[{"text":"< 0.64.1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.64.1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"rust-russh","name":"rust-russh","label":"rust-russh","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/rust-russh","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"eugeny","product":"russh","name":"russh","label":"russh","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.63.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.63.1","eol":null,"hubHref":"/vendor/eugeny/russh"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/Eugeny/russh/security/advisories/GHSA-p8qx-h547-fjw9","label":"github.com/Eugeny/russh/security/advisories/GHSA-p8qx-h547-fjw9","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","REPORT"]},{"url":"https://github.com/Eugeny/russh/commit/2885385abfee279092a41d80c6cb6ac367353159","label":"github.com/Eugeny/russh/commit/2885385abfee279092a41d80c6cb6ac367353159","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT"]},{"url":"https://github.com/Eugeny/russh/releases/tag/v0.63.1","label":"github.com/Eugeny/russh/releases/tag/v0.63.1","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102822","label":"nvd.nist.gov/vuln/detail/CVE-2026-102822","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/Eugeny/russh","label":"github.com/Eugeny/russh","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-102822","label":"security-tracker.debian.org/tracker/CVE-2026-102822","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-102822","label":"ubuntu.com/security/CVE-2026-102822","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-102822","label":"www.cve.org/CVERecord?id=CVE-2026-102822","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-09-29T18:23:28.061Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-29T19:53:30.291Z","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-21T12:24:13.188Z","stale":false,"partial":false}}