Duty Analyst: Joseph McCarthy

CVE-2026-42779

Published: 2026-05-01 11:16:20 | Last modified: 2026-05-01 17:55:29

CRITICAL CVSS 9.8
No EPSS 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:











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.

CVSS details

Severity
critical
Score
9.8
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS

This CVE is not currently listed in the EPSS dataset.

Show JSON
{
    "cve": {
        "id": "CVE-2026-42779",
        "cveTags": [],
        "metrics": {
            "cvssMetricV31": [
                {
                    "type": "Secondary",
                    "source": "security@apache.org",
                    "cvssData": {
                        "scope": "UNCHANGED",
                        "version": "3.1",
                        "baseScore": 9.8,
                        "attackVector": "NETWORK",
                        "baseSeverity": "CRITICAL",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                        "integrityImpact": "HIGH",
                        "userInteraction": "NONE",
                        "attackComplexity": "LOW",
                        "availabilityImpact": "HIGH",
                        "privilegesRequired": "NONE",
                        "confidentialityImpact": "HIGH"
                    },
                    "impactScore": 5.9,
                    "exploitabilityScore": 3.9
                }
            ]
        },
        "published": "2026-05-01T11:16:19.537",
        "references": [
            {
                "url": "https://lists.apache.org/thread/fhlx5k91hrkgyzh7yk1nghrn3k27gxy0",
                "tags": [
                    "Patch",
                    "Vendor Advisory",
                    "Mailing List"
                ],
                "source": "security@apache.org"
            }
        ],
        "vulnStatus": "Analyzed",
        "weaknesses": [
            {
                "type": "Primary",
                "source": "security@apache.org",
                "description": [
                    {
                        "lang": "en",
                        "value": "CWE-502"
                    }
                ]
            }
        ],
        "descriptions": [
            {
                "lang": "en",
                "value": "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\n\n\n\n\n\n\n\n\n\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\n\n\n\nThe fix checks if the class is present in the accepted class filter before calling Class.forName(). \n\n\n\n\n\n\nAffected versions are Apache MINA 2.1.0 <= 2.1.11, and 2.2.0 <= 2.2.6.\n\n\n\n\n\nThe problem is resolved in Apache MINA 2.1.12, and 2.2.7 by \napplying the classname allowlist earlier.\n\n\n\n\n\nAffected are applications using Apache MINA that call  IoBuffer.getObject().\n\n\n\n\n\nApplications using Apache MINA are advised to upgrade."
            }
        ],
        "lastModified": "2026-05-01T17:55:28.940",
        "configurations": [
            {
                "nodes": [
                    {
                        "negate": false,
                        "cpeMatch": [
                            {
                                "criteria": "cpe:2.3:a:apache:mina:*:*:*:*:*:*:*:*",
                                "vulnerable": true,
                                "matchCriteriaId": "BD7E18F5-1CE6-4CD7-8A0D-BD0C2574FF12",
                                "versionEndExcluding": "2.1.12",
                                "versionStartIncluding": "2.1.0"
                            },
                            {
                                "criteria": "cpe:2.3:a:apache:mina:*:*:*:*:*:*:*:*",
                                "vulnerable": true,
                                "matchCriteriaId": "758E989E-5CB0-471C-AADB-43EB3FB95407",
                                "versionEndExcluding": "2.2.7",
                                "versionStartIncluding": "2.2.0"
                            }
                        ],
                        "operator": "OR"
                    }
                ]
            }
        ],
        "sourceIdentifier": "security@apache.org"
    }
}