CVEseasymockCVE-2026-116486Published Oct 26, 13:08 · Updated Oct 26, 16:15 UTC
4.5
MediumCVSS 3.1 · from VulnCheck
CVE-2026-116486

Objenesis before 3.6 Type Confusion via Class Name Instantiator Cache

objenesis · CWE-386 · CWE-386
Affectedobjenesis
FixUpdate to 3.6 or newer
PublishedOct 26, 13:08 · VulnCheck
ScoredOct 26 · 4.5 · VulnCheck
Exploit code publicNone known · checked 22:18 UTC
ExploitedNone known · CISA KEV checked 22:30 UTC

What we know

No known exploitation. CISA KEV, checked 22:30 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 22:18 UTC.
An attacker needs local access to the machine. CVSS: local.
It only works under certain conditions, which makes it harder to pull off. CVSS: high attack complexity.

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.

From VulnCheck

Affected and fixed versions

ProductAffectedFixed inobjenesisbefore 3.63.6objenesisNot affected3.6

Exploit code

Exploit-DBnone knownMetasploitnone knownNucleinone known

References

Patch Commit · github.compatchGitHub Security Advisory (GHSA-743r-26gf-97ff) · github.comvendor advisorygithub.com/easymock/objenesis/blob/fb36e5c377ed1bf57a18386fa79d2eed4ddfcfac/main/src/main/java/org/objenesis/ObjenesisBase.java#L92-L95 · github.comtechnical descriptiongithub.com/easymock/objenesis · github.comproductVulnCheck Advisory: Objenesis before 3.6 Type Confusion via Class Name Instantiator Cache · vulncheck.comthird party advisory