GHSA-8297-v2rf-2p32

Suggest an improvement
Source
https://github.com/advisories/GHSA-8297-v2rf-2p32
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-8297-v2rf-2p32/GHSA-8297-v2rf-2p32.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8297-v2rf-2p32
Aliases
  • CVE-2026-41635
Downstream
Related
Published
2026-04-27T09:34:39Z
Modified
2026-05-13T23:44:29.114356172Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Apache MINA vulnerable to Deserialization of Untrusted Data
Details

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.0.0 <= 2.0.27, 2.1.0 <= 2.1.10, and 2.2.0 <= 2.2.5.

The problem is resolved in Apache MINA 2.0.28, 2.1.11, and 2.2.6 by applying the classname allowlist earlier.

Affected are applications using Apache MINA that call IoBuffer.getObject().

Applications using Apache MINA are advised to upgrade.

Database specific
{
    "github_reviewed_at": "2026-05-07T05:27:52Z",
    "cwe_ids": [
        "CWE-502"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "nvd_published_at": "2026-04-27T09:16:01Z"
}
References

Affected packages

Maven / org.apache.mina:mina-core

Package

Name
org.apache.mina:mina-core
View open source insights on deps.dev
Purl
pkg:maven/org.apache.mina/mina-core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0.0
Fixed
2.0.28

Affected versions

2.*
2.0.0
2.0.1
2.0.2
2.0.3
2.0.4
2.0.5
2.0.6
2.0.7
2.0.8
2.0.9
2.0.10
2.0.11
2.0.12
2.0.13
2.0.14
2.0.15
2.0.16
2.0.17
2.0.18
2.0.19
2.0.20
2.0.21
2.0.22
2.0.23
2.0.24
2.0.25
2.0.26
2.0.27

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-8297-v2rf-2p32/GHSA-8297-v2rf-2p32.json"

Maven / org.apache.mina:mina-core

Package

Name
org.apache.mina:mina-core
View open source insights on deps.dev
Purl
pkg:maven/org.apache.mina/mina-core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.1.0
Fixed
2.1.11

Affected versions

2.*
2.1.0
2.1.1
2.1.2
2.1.3
2.1.4
2.1.5
2.1.6
2.1.7
2.1.8
2.1.9
2.1.10

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-8297-v2rf-2p32/GHSA-8297-v2rf-2p32.json"

Maven / org.apache.mina:mina-core

Package

Name
org.apache.mina:mina-core
View open source insights on deps.dev
Purl
pkg:maven/org.apache.mina/mina-core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.2.0
Fixed
2.2.6

Affected versions

2.*
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-8297-v2rf-2p32/GHSA-8297-v2rf-2p32.json"