Skip to content
Heist/ feed
Back to feed
Critical

mina2 — security advisory

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

The fix for CVE-2026-41409 was not applied to the 2.1.X and 2.2.X branches. Here was the original issue description: The fix for CVE-2024-52046 in Apache MINA AbstractIoBuffer.getObject() was incomplete. The classname allowlist of classes allowed to be deserialized was applied too late after a static initializer in a class to be read might already have been executed. 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 The fix for CVE-2024-52046 in Apache MINA AbstractIoBuffer.getObject() was incomplete. The classname allowlist of classes allowed to be deserialized was applied too late after a static initializer in a class to be read might already have been executed. Affected versions are Apache MINA 2.1.0 <= 2.1.110, 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-42778
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:12 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-42778

core-osv · Original source

Published 1 May 2026, 11:16 UTC

The fix for CVE-2026-41409 was not applied to the 2.1.X and 2.2.X branches. Here was the original issue description: The fix for CVE-2024-52046 in Apache MINA AbstractIoBuffer.getObject() was incomplete. The classname allowlist of classes allowed to be deserialized was applied too late after a static initializer in a class to be read might already have been executed. 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 The fix for CVE-2024-52046 in Apache MINA AbstractIoBuffer.getObject() was incomplete. The classname allowlist of classes allowed to be deserialized was applied too late after a static initializer in a class to be read might already have been executed. Affected versions are Apache MINA 2.1.0 <= 2.1.110, 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-42778

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": "4ceb6bde0390e5565443e109ce74e6f1a7989365a4884cd7e34d00c02630c69e",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-42778",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-42778",
    "summary": "The fix for CVE-2026-41409 was not applied to the 2.1.X and 2.2.X branches. Here was the original issue description: The fix for CVE-2024-52046 in Apache MINA AbstractIoBuffer.getObject() was incomplete. The classname allowlist of classes allowed to be deserialized was applied too late after a static initializer in a class to be read might already have been executed. 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 The fix for CVE-2024-52046 in Apache MINA AbstractIoBuffer.getObject() was incomplete. The classname allowlist of classes allowed to be deserialized was applied too late after a static initializer in a class to be read might already have been executed. Affected versions are Apache MINA 2.1.0 <= 2.1.110, 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-42778",
    "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-42778",
      "aliases": [
        "UBUNTU-CVE-2026-42778"
      ],
      "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-42778.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-42778.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-42778.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-42778.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-42778.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libmina2-java",
                "binary_version": "2.2.1-4ubuntu0.1~esm1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:58:16.457493464Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-42778"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-42778",
        "https://www.cve.org/CVERecord?id=CVE-2026-42778",
        "https://lists.apache.org/thread/fhlx5k91hrkgyzh7yk1nghrn3k27gxy0"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-42778",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 358492,
  "published_at": "2026-05-01T11:16:00+00:00"
}