{"id":"CVE-2026-23943","published":"2026-03-13T09:11:57Z","modified":"2026-11-20T05:57:03Z","title":"Pre-auth SSH DoS via unbounded zlib inflate","vendor":"Erlang","product":"OTP","tier":"tail","description":{"text":"Improper Handling of Highly Compressed Data (Compression Bomb) vulnerability in Erlang OTP ssh (ssh_transport modules) allows Denial of Service via Resource Depletion.\n\nThe SSH transport layer advertises legacy zlib compression by default and inflates attacker-controlled payloads pre-authentication without any size limit, enabling reliable memory exhaustion DoS.\n\nTwo compression algorithms are affected:\n\n* zlib: Activates immediately after key exchange, enabling unauthenticated attacks\n* zlib@openssh.com: Activates post-authentication, enabling authenticated attacks\n\nEach SSH packet can decompress ~255 MB from 256 KB of wire data (1029:1 amplification ratio). Multiple packets can rapidly exhaust available memory, causing OOM kills in memory-constrained environments.\n\nThis vulnerability is associated with program files lib/ssh/src/ssh_transport.erl and program routines ssh_transport:decompress/2, ssh_transport:handle_packet_part/4.\n\nThis issue affects OTP from OTP 17.0 before OTP 26.2.5.18, OTP 27.3.4.9, and OTP 28.4.1, corresponding to ssh from 3.0.1 before 5.1.4.14, 5.2.11.6, and 5.5.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00743,"percentile":0.55613,"provenance":"source"},"cwes":[{"id":"CWE-409","name":"Improper Handling of Highly Compressed Data (Data Amplification)"}],"references":[{"url":"https://github.com/erlang/otp/security/advisories/GHSA-c836-qprm-jw9r","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-23943.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-23943","tags":["related"]},{"url":"https://www.erlang.org/doc/system/versions.html#order-of-versions","tags":["x_version-scheme"]},{"url":"https://github.com/erlang/otp/commit/07b8f441ca711f9812fad9e9115bab3c3aa92f79","tags":["related"]},{"url":"https://github.com/erlang/otp/commit/0c1c04b191f6ab940e8fcfabce39eb5a8a6440a4","tags":["patch"]},{"url":"https://github.com/erlang/otp/commit/43a87b949bdff12d629a8c34146711d9da93b1b1","tags":["patch"]},{"url":"https://github.com/erlang/otp/commit/93073c3bd338c60cd2bae715ce6a1d4ffc1a8fd3","tags":["patch"]}],"priority":{"score":16.0,"factors":[{"name":"EPSS percentile","points":11.12},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"erlang","affectedVersions":[{"vendor":"Erlang","product":"OTP","versions":[">= 3.0.1"]},{"vendor":"Erlang","product":"OTP","versions":[">= 17.0"]},{"vendor":"Erlang","product":"OTP","versions":[">= 07b8f441ca711f9812fad9e9115bab3c3aa92f79"]}],"fixedVersions":[{"vendor":"Erlang","product":"OTP","versions":["5.1.4.14","5.2.11.6","5.5.1"]},{"vendor":"Erlang","product":"OTP","versions":["26.2.5.18","27.3.4.9","28.4.1"]},{"vendor":"Erlang","product":"OTP","versions":["0c1c04b191f6ab940e8fcfabce39eb5a8a6440a4","43a87b949bdff12d629a8c34146711d9da93b1b1","93073c3bd338c60cd2bae715ce6a1d4ffc1a8fd3"]}],"workarounds":{"items":["Best workaround - Disable all compression: {preferred_algorithms, [{compression, ['none']}]} Alternative mitigations (less secure): * Disable only pre-auth zlib compression (authenticated users can still exploit via zlib@openssh.com): {modify_algorithms, [{rm, [{compression, ['zlib']}]}]} * Limit concurrent sessions (reduces attack surface but does not prevent exploitation): {max_sessions, N} % Cap total concurrent sessions (default is infinity)"],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-130","name":"Excessive Allocation"},{"id":"CAPEC-490","name":"Amplification"}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-13T16:01:40.898658Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-11780","exploited":false,"provenance":"source"}}