Apache MINA vulnerabilities
Published: Tue, 23 Jun 2026 15:35
Summary
Apache MINA could be made to run programs if it received specially crafted network traffic.
Details
It was discovered that Apache MINA lacked an acceptMatchers allowlist mechanism to restrict which classes could be deserialized. An attacker could use this to execute arbitrary code. This issue only affected Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2024-52046) It was discovered that Apache MINA's deserialization filter could be bypassed via multiple code paths. An attacker could use this to execute arbitrary code by sending a specially crafted serialized object over the network. (CVE-2026-42778, CVE-2026-42779, CVE-2026-47065)
Recommended actions per Ubuntu release
StackPatch playbook auto-generated per release codename and per affected package.
Ubuntu jammy
mina2→2.1.5-1ubuntu0.1~esm1apt_upgrade_esmFixed at 2.1.5-1ubuntu0.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y mina2=2.1.5-1ubuntu0.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
libmina2-java→2.1.5-1ubuntu0.1~esm1apt_upgrade_esmFixed at 2.1.5-1ubuntu0.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y libmina2-java=2.1.5-1ubuntu0.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
libmina2-java-doc→2.1.5-1ubuntu0.1~esm1apt_upgrade_esmFixed at 2.1.5-1ubuntu0.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y libmina2-java-doc=2.1.5-1ubuntu0.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
Ubuntu noble
mina2→2.2.1-3ubuntu0.1~esm1apt_upgrade_esmFixed at 2.2.1-3ubuntu0.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y mina2=2.2.1-3ubuntu0.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
libmina2-java→2.2.1-3ubuntu0.1~esm1apt_upgrade_esmFixed at 2.2.1-3ubuntu0.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y libmina2-java=2.2.1-3ubuntu0.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
Ubuntu resolute
mina2→2.2.1-4ubuntu0.1~esm1apt_upgrade_esmFixed at 2.2.1-4ubuntu0.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y mina2=2.2.1-4ubuntu0.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
libmina2-java→2.2.1-4ubuntu0.1~esm1apt_upgrade_esmFixed at 2.2.1-4ubuntu0.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y libmina2-java=2.2.1-4ubuntu0.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
Are YOU affected by USN-8465-1?
5-second check on your actual server. Reads /etc/os-release, uname -r, and dpkg-query; matches against the live USN + Debian Security Tracker feeds; tells you whether USN-8465-1 (and any other live CVE) applies. Anonymous, no signup.
curl https://mindsparkstack.com/scan.sh | bash
StackPatch runs this match against YOUR installed packages every hour
Free (3 servers) / from $9/mo (14-day free trial) / Solo $9/mo / Pro $29/mo / Team $79/mo. Indie pricing.