{"schemaVersion":3,"id":"CVE-2025-54804","aliases":["GHSA-h5rc-j5f5-3gcm"],"status":"published","duplicateOf":null,"title":null,"description":"Russh is a Rust SSH client & server library. In versions 0.54.0 and below, the channel window adjust message of the SSH protocol is used to track the free space in the receive buffer of the other side of a channel. The current implementation takes the value from the message and adds it to an internal state value. This can result in a integer overflow. If the Rust code is compiled with overflow checks, it will panic. A malicious client can crash a server. This is fixed in version 0.54.1.","dates":{"published":"2025-08-05T00:05:20.971Z","modified":"2025-08-05T14:44:05.415Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Crates.io","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00395,"percentile":0.32452,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00395},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00395,"percentile":0.32452}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00395,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00395,"percentile":0.32452}]},"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":[{"id":"GITHUB_EUGENY_RUSSH","name":"Russh","source":"github","url":"https://github.com/Eugeny/russh/security/advisories/GHSA-vgvv-x7xg-6cqg","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-190","name":"Integer Overflow or Wraparound","description":"The product performs a calculation that can\n         produce an integer overflow or wraparound when the logic\n         assumes that the resulting value will always be larger than\n         the original value. This occurs when an integer value is\n         incremented to a value that is too large to store in the\n         associated representation. When this occurs, the value may\n         become a very small or negative number.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/190.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.54.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.54.1","eol":null,"hubHref":null},{"vendor":"eugeny","product":"russh","name":"russh","label":"russh","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.54.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.54.1","eol":null,"hubHref":"/vendor/eugeny/russh"},{"vendor":"russh_project","product":"russh","name":"russh","label":"russh","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.54.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.54.1","eol":null,"hubHref":"/vendor/russh_project/russh"},{"vendor":"warpgate_project","product":"warpgate","name":"warpgate","label":"warpgate","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.16.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.16.0","eol":null,"hubHref":"/vendor/warpgate_project/warpgate"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/Eugeny/russh/security/advisories/GHSA-h5rc-j5f5-3gcm","label":"github.com/Eugeny/russh/security/advisories/GHSA-h5rc-j5f5-3gcm","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Exploit","Vendor Advisory"]},{"url":"https://github.com/Eugeny/russh/commit/0eb5e406780890e21ff71dd25d731b30676478e5","label":"github.com/Eugeny/russh/commit/0eb5e406780890e21ff71dd25d731b30676478e5","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54804","label":"nvd.nist.gov/vuln/detail/CVE-2025-54804","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/Eugeny/russh","label":"github.com/Eugeny/russh","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-08-05T00:05:20.971Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-08-05T14:44:05.415Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":36,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T14:35:03.901Z","stale":false,"partial":false}}