mina2 — security advisory
The fix for CVE-2026-41635 was not applied to the 2.1.X and 2.2.X branches. Here was the original issue description: Apache MINA's AbstractIoBuffer.resolveClass() contains two branches, one of them (for static classes or primitive types) does not check the class at all, bypassing the classname allowlist and allowing arbitrary code to be executed. The fix checks if the class is present in the accepted class filter before calling Class.forName(). Affected versions are Apache MINA 2.1.0 <= 2.1.11, and 2.2.0 <= 2.2.6. The problem is resolved in Apache MINA 2.1.12, and 2.2.7 by applying the classname allowlist earlier. Affected are applications using Apache MINA that call IoBuffer.getObject(). Applications using Apache MINA are advised to upgrade.
- Products
- mina2
- Affected versions
- 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-42779
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:12 UTC · Revision 1
Source evidence
The fix for CVE-2026-41635 was not applied to the 2.1.X and 2.2.X branches. Here was the original issue description: Apache MINA's AbstractIoBuffer.resolveClass() contains two branches, one of them (for static classes or primitive types) does not check the class at all, bypassing the classname allowlist and allowing arbitrary code to be executed. The fix checks if the class is present in the accepted class filter before calling Class.forName(). Affected versions are Apache MINA 2.1.0 <= 2.1.11, and 2.2.0 <= 2.2.6. The problem is resolved in Apache MINA 2.1.12, and 2.2.7 by applying the classname allowlist earlier. Affected are applications using Apache MINA that call IoBuffer.getObject(). Applications using Apache MINA are advised to upgrade.
osv:UBUNTU-CVE-2026-42779
mina2
Fixed versions: Not specified
mina2
Fixed versions: Not specified
mina2
Fixed versions: Not specified
mina2
Fixed versions: Not specified
mina2
Fixed versions: Not specified
Complete source record
{
"id": "76adb5ff970c593592b1754a292286dcf80290cb529ff81cb51306fe9cec9c96",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-42779",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-42779",
"summary": "The fix for CVE-2026-41635 was not applied to the 2.1.X and 2.2.X branches. Here was the original issue description: Apache MINA's AbstractIoBuffer.resolveClass() contains two branches, one of them (for static classes or primitive types) does not check the class at all, bypassing the classname allowlist and allowing arbitrary code to be executed. The fix checks if the class is present in the accepted class filter before calling Class.forName(). Affected versions are Apache MINA 2.1.0 <= 2.1.11, and 2.2.0 <= 2.2.6. The problem is resolved in Apache MINA 2.1.12, and 2.2.7 by applying the classname allowlist earlier. Affected are applications using Apache MINA that call IoBuffer.getObject(). Applications using Apache MINA are advised to upgrade.",
"evidence": "osv:UBUNTU-CVE-2026-42779",
"products": [
{
"name": {
"value": "mina2",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.1.4-2",
"evidence": "/affected/0/versions"
},
{
"value": "2.1.5-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.1.5-1ubuntu0.1~esm1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "mina2",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.2.1-3",
"evidence": "/affected/1/versions"
},
{
"value": "2.2.1-3ubuntu0.1~esm1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "mina2",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.2.1-3",
"evidence": "/affected/2/versions"
},
{
"value": "2.2.1-4",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "mina2",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.2.1-4",
"evidence": "/affected/3/versions"
},
{
"value": "2.2.1-4ubuntu1",
"evidence": "/affected/3/versions"
},
{
"value": "2.2.9-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "mina2",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.2.1-4",
"evidence": "/affected/4/versions"
},
{
"value": "2.2.1-4ubuntu0.1~esm1",
"evidence": "/affected/4/versions"
}
]
}
],
"severity": "critical",
"structured": {
"id": "UBUNTU-CVE-2026-42779",
"aliases": [
"UBUNTU-CVE-2026-42779"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"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-42779.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmina2-java",
"binary_version": "2.1.5-1ubuntu0.1~esm1"
}
]
}
},
{
"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-42779.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=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"2.2.1-3",
"2.2.1-4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42779.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmina2-java",
"binary_version": "2.2.1-4"
}
]
}
},
{
"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-42779.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-42779.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmina2-java",
"binary_version": "2.2.1-4ubuntu0.1~esm1"
}
]
}
}
],
"modified": "2026-10-17T12:58:16.488689835Z",
"provider": "osv",
"upstream": [
"CVE-2026-42779"
],
"references": [
"https://ubuntu.com/security/CVE-2026-42779",
"https://www.cve.org/CVERecord?id=CVE-2026-42779",
"https://lists.apache.org/thread/fhlx5k91hrkgyzh7yk1nghrn3k27gxy0"
]
},
"related_cves": [
{
"value": "CVE-2026-42779",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 358494,
"published_at": "2026-05-01T11:16:00+00:00"
}