Skip to content
Heist/ feed
Back to feed
Critical

mina, mina2 — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-41635

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.0.0 <= 2.0.27, 2.1.0 <= 2.1.10, and 2.2.0 <= 2.2.5. The problem is resolved in Apache MINA 2.0.28, 2.1.11, and 2.2.6 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
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-41635
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:11 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-41635

core-osv · Original source

Published 27 Apr 2026, 09:16 UTC

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.0.0 <= 2.0.27, 2.1.0 <= 2.1.10, and 2.2.0 <= 2.2.5. The problem is resolved in Apache MINA 2.0.28, 2.1.11, and 2.2.6 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-41635

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

mina2

Fixed versions: Not specified

Complete source record
{
  "id": "9acef59bae3b7aeee8b9e5666eb41c6be3cf43266097aff07f07c9876c040e2e",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-41635",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-41635",
    "summary": "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.0.0 <= 2.0.27, 2.1.0 <= 2.1.10, and 2.2.0 <= 2.2.5. The problem is resolved in Apache MINA 2.0.28, 2.1.11, and 2.2.6 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-41635",
    "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-3",
            "evidence": "/affected/10/versions"
          },
          {
            "value": "2.2.1-4",
            "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-4ubuntu1",
            "evidence": "/affected/11/versions"
          },
          {
            "value": "2.2.9-1",
            "evidence": "/affected/11/versions"
          }
        ]
      },
      {
        "name": {
          "value": "mina2",
          "evidence": "/affected/12/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.2.1-4",
            "evidence": "/affected/12/versions"
          },
          {
            "value": "2.2.1-4ubuntu0.1~esm1",
            "evidence": "/affected/12/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "UBUNTU-CVE-2026-41635",
      "aliases": [
        "UBUNTU-CVE-2026-41635"
      ],
      "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": "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-41635.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-41635.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-41635.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-41635.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-41635.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-41635.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-41635.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-41635.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-41635.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-41635.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-41635.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-41635.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-41635.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libmina2-java",
                "binary_version": "2.2.1-4ubuntu0.1~esm1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:58:15.424026329Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-41635"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-41635",
        "https://www.cve.org/CVERecord?id=CVE-2026-41635",
        "https://lists.apache.org/thread/1l91w1mqsb3lwfd504fs045ylxntt2tm"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-41635",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 358457,
  "published_at": "2026-04-27T09:16:00+00:00"
}