{"id":"CVE-2026-23943","aliases":["CVE-2026-23943","EEF-CVE-2026-23943","GHSA-c836-qprm-jw9r"],"related":[],"kind":"vulnerability","state":"published","title":"Pre-auth SSH DoS via unbounded zlib inflate","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nImproper 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.\n\n## Workarounds\n\n**Best workaround - Disable all compression:**\n\n```erlang\n{preferred_algorithms, [{compression, ['none']}]}\n```\n\n**Alternative mitigations (less secure):**\n\n* Disable only pre-auth zlib compression (authenticated users can still exploit via `zlib@openssh.com`):\n\n  ```erlang\n  {modify_algorithms, [{rm, [{compression, ['zlib']}]}]}\n  ```\n\n* Limit concurrent sessions (reduces attack surface but does not prevent exploitation):\n\n  ```erlang\n  {max_sessions, N}  % Cap total concurrent sessions (default is infinity)\n  ```\n\n## Configurations\n\nThe SSH server or client must advertise `zlib` or `zlib@openssh.com` compression. Both are enabled by default. With `zlib`, the attack is pre-authentication; with `zlib@openssh.com`, authentication is required first.","format":"markdown","source":"eef"},{"lang":"es","text":"La vulnerabilidad de Manejo Inadecuado de Datos Altamente Comprimidos (Bomba de Compresión) en Erlang OTP ssh (módulos ssh_transport) permite la denegación de servicio mediante el agotamiento de recursos.\n\nLa capa de transporte SSH anuncia la compresión zlib heredada por defecto e infla cargas útiles controladas por el atacante pre-autenticación sin ningún límite de tamaño, lo que permite una DoS fiable por agotamiento de memoria.\n\nDos algoritmos de compresión se ven afectados:\n\n* zlib: Se activa inmediatamente después del intercambio de claves, lo que permite ataques no autenticados\n* zlib@openssh.com: Se activa post-autenticación, lo que permite ataques autenticados\n\nCada paquete SSH puede descomprimir ~255 MB de 256 KB de datos en la red (relación de amplificación de 1029:1). Múltiples paquetes pueden agotar rápidamente la memoria disponible, causando eliminaciones por OOM en entornos con memoria limitada.\n\nEsta vulnerabilidad está asociada con los archivos de programa lib/ssh/src/ssh_transport.erl y las rutinas de programa ssh_transport:decompress/2, ssh_transport:handle_packet_part/4.\n\nEste problema afecta a OTP desde OTP 17.0 hasta OTP 28.4.1, 27.3.4.9 y 26.2.5.18, lo que corresponde a ssh desde 3.0.1 hasta 5.5.1, 5.2.11.6 y 5.1.4.14.","source":"nvd"}],"published":"2026-03-13T09:11:57.794Z","modified":"2026-11-25T06:30:21.681Z","severity":{"scorer":"EEF","scheme":"CVSS: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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"EEF","scheme":"CVSS: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","score":6.9,"rating":"MEDIUM"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS: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"},{"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:L","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-409"],"affected":[{"ranges":[{"type":"otp","introduced":"3.0.1","fixed":"*","status":"affected"}],"vendor":"Erlang","product":"OTP","package":"ssh","cpe":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","repo":"https://github.com/erlang/otp","source":"cvelist"},{"ranges":[{"type":"otp","introduced":"17.0","fixed":"*","status":"affected"}],"vendor":"Erlang","product":"OTP","package":"otp","cpe":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"git","introduced":"07b8f441ca711f9812fad9e9115bab3c3aa92f79","fixed":"*","status":"affected"}],"vendor":"Erlang","product":"OTP","package":"erlang/otp","cpe":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","repo":"https://github.com/erlang/otp","source":"cvelist"},{"ranges":[{"type":"git","introduced":"07b8f441ca711f9812fad9e9115bab3c3aa92f79","status":"affected","fixed":"0c1c04b191f6ab940e8fcfabce39eb5a8a6440a4"},{"type":"git","status":"affected","fixed":"43a87b949bdff12d629a8c34146711d9da93b1b1"},{"type":"git","status":"affected","fixed":"93073c3bd338c60cd2bae715ce6a1d4ffc1a8fd3"}],"repo":"https://github.com/erlang/otp","source":"eef"},{"ranges":[{"status":"affected","introduced":"17.0","fixed":"26.2.5.18"},{"status":"affected","introduced":"27.0","fixed":"27.3.4.9"},{"status":"affected","introduced":"28.0","fixed":"28.4.1"}],"vendor":"erlang","product":"erlang/otp","cpe":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"3.0.1","fixed":"5.1.4.14"},{"status":"affected","introduced":"5.2","fixed":"5.2.11.6"},{"status":"affected","introduced":"5.5","lastAffected":"5.5.1"}],"vendor":"erlang","product":"erlang/ssh","cpe":"cpe:2.3:a:erlang:erlang\\/ssh:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/erlang/otp/security/advisories/GHSA-c836-qprm-jw9r","tags":["advisory","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-23943.html","tags":["related","vendor-advisory","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-23943","tags":["related","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.erlang.org/doc/system/versions.html#order-of-versions","tags":["product","web","x-version-scheme"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/erlang/otp/commit/07b8f441ca711f9812fad9e9115bab3c3aa92f79","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/erlang/otp/commit/0c1c04b191f6ab940e8fcfabce39eb5a8a6440a4","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/erlang/otp/commit/43a87b949bdff12d629a8c34146711d9da93b1b1","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/erlang/otp/commit/93073c3bd338c60cd2bae715ce6a1d4ffc1a8fd3","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]}],"credits":["Igor Morgenstern / Aisle Research","Michał Wąsowski","Jakub Witczak"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-03-13T16:01:40.898Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23943","url":"https://www.cve.org/CVERecord?id=CVE-2026-23943","licence":"CVE Terms of Use","modified":"2026-11-20T05:57:03.627Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-23943","url":"https://osv.dev/vulnerability/EEF-CVE-2026-23943","licence":"CC-BY-4.0","modified":"2026-11-25T06:30:21.681Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23943","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23943","licence":"Public domain","modified":"2026-11-20T06:17:22.817Z"}],"updatedAt":"2026-11-25T22:59:15.871Z","epss":{"score":0.00749,"percentile":0.56163,"date":"2026-12-02T12:00:21.000Z"}}