What’s Vulnerable › Vulnerabilities

CVE-2026-116486: Objenesis before 3.6 Type Confusion via Class Name Instantiator Cache

Description

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.

Affected products

How to fix

Upgrade to a fixed version: easymock objenesis 3.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-116486 or the next vulnerability affects your stack