{"answers":{"affected":"4 open source packages ship an affected version, including org.apache.mina:mina-core. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-42779 in the wild and no public exploit code.","fix":"Upgrade org.apache.mina:mina-core to a fixed version for your release line: 2.1.12 or 2.2.7.","what":"CVE-2026-42779 is a critical unsafe deserialization vulnerability in Apache MINA, published on 1 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-42779 and fix it if it is affected.\n\nWhat it is: CVE-2026-42779 is a critical unsafe deserialization vulnerability in Apache MINA, published on 1 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-42779 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.mina:mina-core (Maven): affected from 2.1.0; fixed in 2.1.12\n- org.apache.mina:mina-core (Maven): affected from 2.1.0; fixed in 2.1.12\n- org.apache.mina:mina-core (Maven): affected from 2.2.0; fixed in 2.2.7\n- org.apache.mina:mina-core (Maven): affected from 2.2.0; fixed in 2.2.7\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-42779/ (Markdown: https://insights.sbomify.com/CVE-2026-42779/index.md)","id":"CVE-2026-42779","markdown":"https://insights.sbomify.com/CVE-2026-42779/index.md","name":"CVE-2026-42779","record":{"aliases":["CLEANSTART-2026-BL56844","CLEANSTART-2026-BZ36628","CLEANSTART-2026-GX72554","CLEANSTART-2026-OA86138","CLEANSTART-2026-YJ76676","ECHO-5cd5-f8bb-3443","GHSA-vf5j-865m-mq7c","MINI-4qm7-4mr6-6pwh","MINI-5vvj-wmf2-7qff","MINI-6jvh-wj7h-238r","MINI-p97g-37mq-mcrv","MINI-pv9h-8j4q-wgw8","MINI-v3g3-qh4c-jxp7","MINI-x888-vp7p-94vc","UBUNTU-CVE-2026-42779"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Java networking library","requires_auth":"none","summary":"Attackers can execute arbitrary code via unsafe deserialization in Apache MINA when applications call IoBuffer.getObject(), bypassing class filters.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"mina","vendor":"apache"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"description":"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:\n\nApache 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.\n\nThe fix checks if the class is present in the accepted class filter before calling Class.forName(). \n\nAffected versions are Apache MINA 2.1.0 \u003c= 2.1.11, and 2.2.0 \u003c= 2.2.6.\n\nThe problem is resolved in Apache MINA 2.1.12, and 2.2.7 by \napplying the classname allowlist earlier.\n\nAffected are applications using Apache MINA that call  IoBuffer.getObject().\n\nApplications using Apache MINA are advised to upgrade.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2026-05-02","github_poc":1,"max_poc_stars":11,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-05-02T08:26:20Z","kind":"github_poc","ref":"https://github.com/dinosn/CVE-2026-42779","stars":11,"title":"CVE-2026-42779: Apache MINA AbstractIoBuffer.resolveClass() deserialization filter bypass to RCE (CVSS 9.8)"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Apache MINA vulnerable to Deserialization of Untrusted Data (CVE-2026-41635 Incomplete Fix)","id":"CVE-2026-42779","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"deserialization","year":"2026"},"n_packages":4,"n_references":1,"next":{"headline":"BIG-IP SSL Orchestrator vulnerability","id":"CVE-2026-42780"},"packages":[{"ecosystem":"Maven","fixed":["2.1.12"],"introduced":["2.1.0"],"last_affected":[],"package":"org.apache.mina:mina-core","purl":null,"source":"GHSA-vf5j-865m-mq7c"},{"ecosystem":"Maven","fixed":["2.1.12"],"introduced":["2.1.0"],"last_affected":[],"package":"org.apache.mina:mina-core","purl":"pkg:maven/org.apache.mina/mina-core","source":"GHSA-vf5j-865m-mq7c"},{"ecosystem":"Maven","fixed":["2.2.7"],"introduced":["2.2.0"],"last_affected":[],"package":"org.apache.mina:mina-core","purl":null,"source":"GHSA-vf5j-865m-mq7c"},{"ecosystem":"Maven","fixed":["2.2.7"],"introduced":["2.2.0"],"last_affected":[],"package":"org.apache.mina:mina-core","purl":"pkg:maven/org.apache.mina/mina-core","source":"GHSA-vf5j-865m-mq7c"}],"prev":{"headline":"Apache MINA: CWE-502 Deserialization of Untrusted Data (take 2)","id":"CVE-2026-42778"},"products":["Apache MINA"],"published":"2026-05-01","related":[{"cvss_score":10,"headline":"Apache MINA: MINA applications using unbounded deserialization may allow RCE","id":"CVE-2024-52046","kev_date_added":null,"published":"2024-12-25"},{"cvss_score":9.8,"headline":"Apache MINA: Critical Deserialization Allow-list Bypass via resolveProxyClass - ZDRES-232","id":"CVE-2026-47065","kev_date_added":null,"published":"2026-06-03"},{"cvss_score":9.8,"headline":"Apache MINA: CWE-502 Deserialization of Untrusted Data (take 2)","id":"CVE-2026-42778","kev_date_added":null,"published":"2026-05-01"},{"cvss_score":9.8,"headline":"Apache MINA: CWE-502 Deserialization of Untrusted Data","id":"CVE-2026-41409","kev_date_added":null,"published":"2026-04-27"},{"cvss_score":9.8,"headline":"Apache MINA vulnerable to Deserialization of Untrusted Data","id":"CVE-2026-41635","kev_date_added":null,"published":"2026-04-27"},{"cvss_score":7.5,"headline":"Apache MINA SSLFilter security Issue","id":"CVE-2019-0231","kev_date_added":null,"published":"2019-10-01"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-05-02","vendors":["Apache Software Foundation"]},"summary":"Attackers can execute arbitrary code via unsafe deserialization in Apache MINA when applications call IoBuffer.getObject(), bypassing class filters.","url":"https://insights.sbomify.com/CVE-2026-42779/"}