{"id":"CVE-2026-46673","aliases":["RUSTSEC-2026-0154","GHSA-g9f8-wqj9-fjw5","RUSTSEC-2026-0153"],"title":"Unbounded 32-bit allocation","summary":"Unbounded 32-bit allocation","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","vendor":"russh","product":"russh","ecosystem":"rust","affected":["russh >= 0.0.0-0, < 0.60.3"],"patched":["russh 0.60.3"],"published":"2026-05-15","updated":"2026-10-12","sourceUpdated":"2026-10-12T18:00:13.569892882Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2026-0154","references":[{"url":"https://crates.io/crates/russh"},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0154.html"},{"url":"https://github.com/Eugeny/russh/commit/a2d48a71fe93d18cbd666c8d53d0882f5ce110c4"},{"url":"https://github.com/Eugeny/russh/commit/a2d48a71fe93d18cbd666c8d53d0882f5ce110c4"},{"url":"https://crates.io/crates/russh-cryptovec"},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0153.html"}],"tags":["osv","rust"],"epss":0.0046,"epssPercentile":0.38044,"ingestedAt":"2026-10-13T11:45:30.194Z","slug":"CVE-2026-46673","body":"## Overview\n\nBoth the SSH agent server and client accepted peer-controlled frame lengths\nwithout enforcing a maximum frame size. This could cause large memory\nallocations while parsing a maliciously crafted agent frame.\n\nA malicious peer could advertise an oversized frame length, causing the client\nor server to attempt a large memory allocation before validating the frame,\npotentially leading to memory exhaustion or process termination.\n\nThis is fixed by enforcing a maximum agent frame size of 256 KiB and\nrejecting oversized frames before buffer allocation.\n\n## Affected packages\n\n- `russh >= 0.0.0-0, < 0.60.3`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `russh 0.60.3`","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":41.3,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}