{"id":"CVE-2026-31814","aliases":["CVE-2026-31814","GHSA-4w32-2493-32g7"],"related":[],"kind":"vulnerability","state":"published","title":"Yamux remote Panic via malformed WindowUpdate credit","summary":"Yamux is a stream multiplexer over reliable, ordered connections such as TCP/IP. From 0.13.0 to before 0.13.9, a specially crafted WindowUpdate can cause arithmetic overflow in send-window accounting, which triggers a panic in the connection state machine. This is remotely reachable over a normal network connection and does not require authentication. This vulnerability is fixed in 0.13.9.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Yamux is a stream multiplexer over reliable, ordered connections such as TCP/IP. From 0.13.0 to before 0.13.9, a specially crafted WindowUpdate can cause arithmetic overflow in send-window accounting, which triggers a panic in the connection state machine. This is remotely reachable over a normal network connection and does not require authentication. This vulnerability is fixed in 0.13.9.","source":"cvelist"},{"lang":"en","text":"### Sumary\nThe Rust implementation of Yamux accepts `WindowUpdate` credit values from the remote peer and applies them to per-stream send-window state.  \nA specially crafted `WindowUpdate` can cause arithmetic overflow in send-window accounting, which triggers a panic in the connection state machine. This is remotely reachable over a normal network connection and does not require authentication.\n#### Attack Scenario  \nAn attacker that can establish a Yamux session with a target node can crash the target by sending two validly encoded Yamux frames:\n1. Open a stream (e.g. DATA + SYN) so the stream exists with initial send-window state (`DEFAULT_CREDIT`).\n2. Send a WindowUpdate on that stream with a very large credit value (e.g. 0xFFFF_0000) such that adding credit to the current send-window overflows u32.\n### Impact\nRemote unauthenticated denial of service.  \nAn attacker can repeatedly trigger panics by reconnecting and replaying the crafted frame sequence.\n### Patches\nUsers should upgrade to `yamux` `v0.13.9`\n\nThis vulnerability was originally submitted by @revofusion to the Ethereum Foundation bug bounty program","format":"markdown","source":"ghsa"},{"lang":"es","text":"Yamux es un multiplexor de flujo sobre conexiones fiables y ordenadas como TCP/IP. Desde 0.13.0 hasta antes de 0.13.9, una WindowUpdate especialmente diseñada puede causar un desbordamiento aritmético en la contabilidad de la ventana de envío, lo que desencadena un pánico en la máquina de estados de la conexión. Esto es alcanzable remotamente a través de una conexión de red normal y no requiere autenticación. Esta vulnerabilidad está corregida en 0.13.9.","source":"nvd"}],"published":"2026-03-13T18:57:19.000Z","modified":"2026-06-17T10:34:30.497Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"version":">= 0.13.0, < 0.13.9","status":"affected"}],"vendor":"libp2p","product":"rust-yamux","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.13.0","status":"affected","fixed":"0.13.9"}],"ecosystem":"crates.io","package":"yamux","purl":"pkg:cargo/yamux","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"0.13.0","fixed":"0.13.9"}],"vendor":"protocol","product":"yamux","cpe":"cpe:2.3:a:protocol:yamux:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://github.com/libp2p/rust-yamux/security/advisories/GHSA-4w32-2493-32g7","tags":["exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31814","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/libp2p/rust-yamux/pull/221","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/libp2p/rust-yamux/commit/b1aae09d60c0bd6a5915a5448f4e8cbc5174db53","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/libp2p/rust-yamux","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/libp2p/rust-yamux/releases/tag/yamux-v0.13.9","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-03-13T19:37:53.480Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31814","url":"https://www.cve.org/CVERecord?id=CVE-2026-31814","licence":"CVE Terms of Use","modified":"2026-03-13T19:38:02.290Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4w32-2493-32g7","url":"https://github.com/advisories/GHSA-4w32-2493-32g7","licence":"CC-BY-4.0","modified":"2026-03-16T17:16:28.081Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31814","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31814","licence":"Public domain","modified":"2026-06-17T10:34:30.497Z"}],"updatedAt":"2026-11-25T22:59:15.882Z","epss":{"score":0.0051,"percentile":0.45023,"date":"2026-12-01T12:00:22.000Z"}}