cve.bz

CVE-2026-42779 apache mina: Deserialization of Untrusted Data

9.8 criticalEPSS 1.2%Fix available

Critical (9.8) in apache mina. EPSS 1.2% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.mina:mina-core 2.1.12, 2.2.7.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.2% (unchanged from 1.2% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 69th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-05-01. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-502 Deserialization of Untrusted Data
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-42779 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-42779?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-42779?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-42779 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-42779

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-42779](https://cve.bz/cve/badge/CVE-2026-42779.svg)](https://cve.bz/cve/CVE-2026-42779)

HTML:

<a href="https://cve.bz/cve/CVE-2026-42779"><img src="https://cve.bz/cve/badge/CVE-2026-42779.svg" alt="CVE-2026-42779"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache MINAfrom 2.2.X through 2.2.6
Apache Software Foundation Apache MINAfrom 2.1.X through 2.1.11

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vf5j-865m-mq7cMavenorg.apache.mina:mina-core>=2.1.0 <2.1.122.1.12
GHSA-vf5j-865m-mq7cMavenorg.apache.mina:mina-core>=2.2.0 <2.2.72.2.7

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu25.10, 26.10mina2no fix listedUBUNTU-CVE-2026-42779
UbuntuPro:22.04:LTSmina22.1.5-1ubuntu0.1~esm1USN-8465-1
UbuntuPro:24.04:LTSmina22.2.1-3ubuntu0.1~esm1USN-8465-1
UbuntuPro:26.04:LTSmina22.2.1-4ubuntu0.1~esm1USN-8465-1

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Low.

Red Hat's statement

Red Hat products are affected by this vulnerability. However, the vulnerable code cannot be reached and therefore are not vulnerable. Due to this reason, this flaw has been rated with a low severity.

ProductPackageStateAdvisory
OpenShift Developer Tools and Services 4.12ocp-tools-4/jenkins-rhel8:1786628667Fixed 2026-08-26RHSA-2026:60247
OpenShift Developer Tools and Services 4.13ocp-tools-4/jenkins-rhel8:1786628681Fixed 2026-08-26RHSA-2026:60249
OpenShift Developer Tools and Services 4.14ocp-tools-4/jenkins-rhel8:1786533561Fixed 2026-08-26RHSA-2026:60248
OpenShift Developer Tools and Services 4.15ocp-tools-4/jenkins-rhel8:1786533565Fixed 2026-08-26RHSA-2026:60239
OpenShift Developer Tools and Services 4.16ocp-tools-4/jenkins-rhel9:1787125166Fixed 2026-08-26RHSA-2026:60251
OpenShift Developer Tools and Services 4.17ocp-tools-4/jenkins-rhel9:1787124635Fixed 2026-08-26RHSA-2026:60246
OpenShift Developer Tools and Services 4.18ocp-tools-4/jenkins-rhel9:1787125069Fixed 2026-08-26RHSA-2026:60250
OpenShift Developer Tools and Services 4.19ocp-tools-4/jenkins-rhel9:1787124632Fixed 2026-08-26RHSA-2026:60252
OpenShift Developer Tools and Services 4.20ocp-tools-4/jenkins-rhel9:1787124925Fixed 2026-08-26RHSA-2026:60259
OpenShift Developer Tools and Services 4.21ocp-tools-4/jenkins-rhel9:1787125311Fixed 2026-08-26RHSA-2026:60254
OpenShift Developer Tools and ServicesjenkinsAffected
OpenShift Developer Tools and Servicesjenkins-2-pluginsAffected
Red Hat AMQ Broker 7mina-coreNot affected
Red Hat build of Apache Camel for Spring Boot 4mina-coreFix deferred
Red Hat Data Grid 8mina-coreNot affected
Red Hat Enterprise Linux 8javapackages-tools:201801/maven-wagonNot affected
Red Hat Enterprise Linux 9maven:3.9/maven-wagonNot affected
Red Hat Enterprise Linux 9maven-wagonNot affected
Red Hat Fuse 7mina-coreNot affected
Red Hat JBoss Enterprise Application Platform 7mina-coreNot affected
7 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-42779.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

  • dinosn/CVE-2026-42779 Harbor Check: matches CVE 11 stars, Java, created
    CVE-2026-42779: Apache MINA AbstractIoBuffer.resolveClass() deserialization filter bypass to RCE (CVSS 9.8)

Attack patterns (CAPEC)

  • CAPEC-586 Object Injection Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON