{"id":"CVE-2026-93996","title":"Apache MINA SSHD: Memory exhaustion DoS via unbounded SCP command line read","summary":"Uncontrolled resource consumption in component ssd-scp in Apache MINA SSHD versions up to 2.19.0 or 3.0.0-M1 to 3.0.0-M5. Apache MINA SSHD is a Java library for client-side and server-side SSH.\n\n\n\n\nComponent sshd-scp of Apache MINA SSHD …","severity":"medium","cvss":6.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","cvssSource":"cna","cwe":["CWE-770"],"vendor":"Apache Software Foundation","product":"org.apache.sshd:sshd-scp","affected":["org.apache.sshd:sshd-scp < 2.20.0","org.apache.sshd:sshd-scp >= 3.0.0-M1 < 3.0.0-M6"],"published":"2026-09-30","updated":"2026-09-30","sourceUpdated":"2026-09-30T09:37:42.595Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-93996","references":[{"url":"https://lists.apache.org/thread.html/xwk8vogkpphcpm01hrt9tb6mgnpjzp35"}],"tags":["cve.org"],"ingestedAt":"2026-09-30T10:01:20.475Z","slug":"CVE-2026-93996","body":"## Overview\n\nUncontrolled resource consumption in component ssd-scp in Apache MINA SSHD versions up to 2.19.0 or 3.0.0-M1 to 3.0.0-M5. Apache MINA SSHD is a Java library for client-side and server-side SSH.\n\n\n\n\nComponent sshd-scp of Apache MINA SSHD provides a Java implementation of SCP. The SCP command protocol is line-oriented with LF-terminated lines. The protocol handler in sshd-scp did not impose any limit on the length of such protocol lines. A malicious peer just sending a junk command containing a never-ending sequence of characters but never a LF would cause the receiver to allocate memory to store this whole junk command, exhausting memory and crashing the application with an OutOfMemoryError.\n\n\n\n\nUsers are recommended to upgrade to version 2.20.0 or 3.0.0-M6, which fix this issue by enforcing an upper limit on the length of SCP protocol lines.\n\n## Affected\n\n- `org.apache.sshd:sshd-scp < 2.20.0`\n- `org.apache.sshd:sshd-scp >= 3.0.0-M1 < 3.0.0-M6`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":36,"depthScoreParts":{"impact":35.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}