Objenesis before 3.6 Type Confusion via Class Name Instantiator Cache
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| easymockobjenesis |
< 3.6→ 3.6 |
3.6 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-116486 objenesis Fix available
- Ubuntu UBUNTU-CVE-2026-116486 objenesis No fixed version in this record
Original description The description as published by the source.
Objenesis before 3.6 contains a type confusion vulnerability that allows code in one class loader to substitute objects into another by exploiting instantiator caching keyed on class name. When a shared ObjenesisStd instance caches instantiators by clazz.getName() in ObjenesisBase.getInstantiatorOf(), same-named classes collide, causing newInstance() to return wrong-class objects and ClassCastException failures.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- REDHAT Red Hat
- web github.com
- web github.com