mina, mina2 — security advisory
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. Component 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. Users 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.
- Products
- mina, mina2
- Affected versions
- 1.1.7.dfsg-11, 1.1.7.dfsg-12, 1.1.7.dfsg-13, 1.1.7.dfsg-13ubuntu1, 2.0.16-2, 2.0.19-2, 2.0.7+dfsg-2, 2.0.9-1, 2.0.9-2, 2.1.4-2, 2.1.5-1, 2.1.5-1ubuntu0.1~esm1, 2.2.1-3, 2.2.1-3ubuntu0.1~esm1, 2.2.1-4, 2.2.1-4ubuntu0.1~esm1, 2.2.1-4ubuntu1, 2.2.9-1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-93996
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 03:33 UTC · Revision 1
Source evidence
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. Component 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. Users 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.
osv:UBUNTU-CVE-2026-93996
mina
Fixed versions: Not specified
mina2
Fixed versions: Not specified
mina
Fixed versions: Not specified
mina2
Fixed versions: Not specified
mina
Fixed versions: Not specified
mina2
Fixed versions: Not specified
mina
Fixed versions: Not specified
mina2
Fixed versions: Not specified
mina
Fixed versions: Not specified
mina2
Fixed versions: Not specified
mina2
Fixed versions: Not specified
mina2
Fixed versions: Not specified
Complete source record
{
"id": "edfa4f643941cc3c4a3c5b25fb1ca746ce894333edccc14649da9a8ebef551b2",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-93996",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-93996",
"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. Component 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. Users 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.",
"evidence": "osv:UBUNTU-CVE-2026-93996",
"products": [
{
"name": {
"value": "mina",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.1.7.dfsg-11",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "mina2",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.0.7+dfsg-2",
"evidence": "/affected/1/versions"
},
{
"value": "2.0.9-1",
"evidence": "/affected/1/versions"
},
{
"value": "2.0.9-2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "mina",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.1.7.dfsg-11",
"evidence": "/affected/2/versions"
},
{
"value": "1.1.7.dfsg-12",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "mina2",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.0.16-2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "mina",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.1.7.dfsg-13",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "mina2",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.0.19-2",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "mina",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.1.7.dfsg-13",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "mina2",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.1.4-2",
"evidence": "/affected/7/versions"
},
{
"value": "2.1.5-1",
"evidence": "/affected/7/versions"
},
{
"value": "2.1.5-1ubuntu0.1~esm1",
"evidence": "/affected/7/versions"
}
]
},
{
"name": {
"value": "mina",
"evidence": "/affected/8/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.1.7.dfsg-13",
"evidence": "/affected/8/versions"
},
{
"value": "1.1.7.dfsg-13ubuntu1",
"evidence": "/affected/8/versions"
}
]
},
{
"name": {
"value": "mina2",
"evidence": "/affected/9/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.2.1-3",
"evidence": "/affected/9/versions"
},
{
"value": "2.2.1-3ubuntu0.1~esm1",
"evidence": "/affected/9/versions"
}
]
},
{
"name": {
"value": "mina2",
"evidence": "/affected/10/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.2.1-4",
"evidence": "/affected/10/versions"
},
{
"value": "2.2.1-4ubuntu1",
"evidence": "/affected/10/versions"
},
{
"value": "2.2.9-1",
"evidence": "/affected/10/versions"
}
]
},
{
"name": {
"value": "mina2",
"evidence": "/affected/11/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.2.1-4",
"evidence": "/affected/11/versions"
},
{
"value": "2.2.1-4ubuntu0.1~esm1",
"evidence": "/affected/11/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2026-93996",
"aliases": [
"UBUNTU-CVE-2026-93996"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mina",
"purl": "pkg:deb/ubuntu/mina?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"1.1.7.dfsg-11"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-93996.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmina-java",
"binary_version": "1.1.7.dfsg-11"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mina2",
"purl": "pkg:deb/ubuntu/mina2?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"2.0.7+dfsg-2",
"2.0.9-1",
"2.0.9-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-93996.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmina2-java",
"binary_version": "2.0.9-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mina",
"purl": "pkg:deb/ubuntu/mina?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"1.1.7.dfsg-11",
"1.1.7.dfsg-12"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-93996.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmina-java",
"binary_version": "1.1.7.dfsg-12"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mina2",
"purl": "pkg:deb/ubuntu/mina2?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"2.0.16-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-93996.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmina2-java",
"binary_version": "2.0.16-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mina",
"purl": "pkg:deb/ubuntu/mina?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"1.1.7.dfsg-13"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-93996.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmina-java",
"binary_version": "1.1.7.dfsg-13"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mina2",
"purl": "pkg:deb/ubuntu/mina2?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"2.0.19-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-93996.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmina2-java",
"binary_version": "2.0.19-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mina",
"purl": "pkg:deb/ubuntu/mina?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.1.7.dfsg-13"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-93996.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmina-java",
"binary_version": "1.1.7.dfsg-13"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mina2",
"purl": "pkg:deb/ubuntu/mina2?arch=source&distro=esm-apps%2Fjammy",
"ecosystem": "Ubuntu:Pro:22.04:LTS"
},
"versions": [
"2.1.4-2",
"2.1.5-1",
"2.1.5-1ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-93996.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmina2-java",
"binary_version": "2.1.5-1ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mina",
"purl": "pkg:deb/ubuntu/mina?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.1.7.dfsg-13",
"1.1.7.dfsg-13ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-93996.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmina-java",
"binary_version": "1.1.7.dfsg-13ubuntu1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mina2",
"purl": "pkg:deb/ubuntu/mina2?arch=source&distro=esm-apps%2Fnoble",
"ecosystem": "Ubuntu:Pro:24.04:LTS"
},
"versions": [
"2.2.1-3",
"2.2.1-3ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-93996.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmina2-java",
"binary_version": "2.2.1-3ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mina2",
"purl": "pkg:deb/ubuntu/mina2?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"2.2.1-4",
"2.2.1-4ubuntu1",
"2.2.9-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-93996.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmina2-java",
"binary_version": "2.2.9-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mina2",
"purl": "pkg:deb/ubuntu/mina2?arch=source&distro=esm-apps%2Fresolute",
"ecosystem": "Ubuntu:Pro:26.04:LTS"
},
"versions": [
"2.2.1-4",
"2.2.1-4ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-93996.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmina2-java",
"binary_version": "2.2.1-4ubuntu0.1~esm1"
}
]
}
}
],
"modified": "2026-10-17T13:01:18.691483150Z",
"provider": "osv",
"upstream": [
"CVE-2026-93996"
],
"references": [
"https://ubuntu.com/security/CVE-2026-93996",
"https://www.cve.org/CVERecord?id=CVE-2026-93996",
"https://www.openwall.com/lists/oss-security/2026/09/29/35"
]
},
"related_cves": [
{
"value": "CVE-2026-93996",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 361611,
"published_at": "2026-09-30T10:17:00+00:00"
}