Advisory

RUSTSEC-2026-0154

Also known as: CVE-2026-46673, GHSA-g9f8-wqj9-fjw5, RUSTSEC-2026-0153

Summary

Unbounded 32-bit allocation

Details

Both the SSH agent server and client accepted peer-controlled frame lengths
without enforcing a maximum frame size. This could cause large memory
allocations while parsing a maliciously crafted agent frame.

A malicious peer could advertise an oversized frame length, causing the client
or server to attempt a large memory allocation before validating the frame,
potentially leading to memory exhaustion or process termination.

This is fixed by enforcing a maximum agent frame size of 256 KiB and
rejecting oversized frames before buffer allocation.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2026-05-15 12:00 UTC
Modified
2026-10-12 18:00 UTC

Affected packages and fixes

russh

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.60.3 (semver)

Fixed versions

0.60.3

Fix

  • Fixed version 0.60.3
    cargo update -p russh --precise 0.60.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences