CVE-2026-116486

Objenesis before 3.6 Type Confusion via Class Name Instantiator Cache

State
Published
Severity
2.0 Low
Published
Oct 26, 2026
Updated
Oct 26, 2026
Reserved
Oct 26, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.02.0 LowCVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:NVulnCheck
3.14.5 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:LVulnCheck

Weaknesses

  • CWE-386 Symbolic Name not Mapping to Correct Object

Affected Products

ProductVersions
objenesiseasymock
  • before 3.6Affected
  • 3.6Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.