{"id":"CVE-2026-116486","summary":"Objenesis before 3.6 Type Confusion via Class Name Instantiator Cache","details":"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.","aliases":["GHSA-743r-26gf-97ff"],"modified":"2026-11-20T17:28:21.569081260Z","published":"2026-10-26T13:08:52.051Z","related":["openSUSE-SU-2026:12615-1"],"database_specific":{"cwe_ids":["CWE-386"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116486.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/116xxx/CVE-2026-116486.json"},{"type":"ADVISORY","url":"https://github.com/easymock/objenesis/security/advisories/GHSA-743r-26gf-97ff"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116486"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/objenesis-before-3.6-type-confusion-via-class-name-instantiator-cache"},{"type":"FIX","url":"https://github.com/easymock/objenesis/commit/40f90f435a06b16af74a7398f0007faeaa52c00c"},{"type":"PACKAGE","url":"https://github.com/easymock/objenesis"},{"type":"ARTICLE","url":"https://github.com/easymock/objenesis/blob/fb36e5c377ed1bf57a18386fa79d2eed4ddfcfac/main/src/main/java/org/objenesis/ObjenesisBase.java#L92-L95"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/easymock/objenesis","events":[{"introduced":"0"},{"fixed":"a2bc5a564bb955674b687e589ba2a1e1790ea5ae"},{"fixed":"40f90f435a06b16af74a7398f0007faeaa52c00c"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"3.6"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"40f90f435a06b16af74a7398f0007faeaa52c00c"}]}]}}],"versions":["3.5","3.4","3.3","3.2","3.1","3.0.1","3.0","2.6","2.5.1","2.5","2.4","2.3","2.2","crash","2.1","2.0","1.4"],"database_specific":{"vanir_signatures":[{"signature_type":"Line","signature_version":"v1","source":"https://github.com/easymock/objenesis/commit/40f90f435a06b16af74a7398f0007faeaa52c00c","target":{"file":"main/src/main/java/org/objenesis/ObjenesisBase.java"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["256504061580764705807622875766585373965","40094315228231838915634495484617527758","267919343353585054627916208101535267190","54290192306217789632610787191927055478","161363249110417100009033755319551392760","105219174957857261799783331301270644637","287675503147087504857291882190138271400","245014475606360100847928380029146067039","268993143345891846298798683484427235382","142248935195164365454564150761244897257","25637761779321675298445027871228289824","140136264196079645177027854518440020594","243358464639730147094065876326276571732","160396070504419630638898720934554018346","317776679960119952018631828663592273608","309776217456456358476052674917054248507","133045007314524741266172144170143908149","172884431263738791918552103028015744990","51888646556309199768515019699271873723","5327969996870830696166452882614982092","133536744301534503759593027579826650641","266662807439344748453593056976728905896"]},"id":"CVE-2026-116486-06c47dba"},{"signature_version":"v1","source":"https://github.com/easymock/objenesis/commit/40f90f435a06b16af74a7398f0007faeaa52c00c","target":{"file":"main/src/test/java/org/objenesis/ObjenesisTest.java","function":"testNewInstance"},"deprecated":false,"digest":{"length":130,"function_hash":"143105770220607225425019760408914813265"},"id":"CVE-2026-116486-21a5d058","signature_type":"Function"},{"source":"https://github.com/easymock/objenesis/commit/40f90f435a06b16af74a7398f0007faeaa52c00c","target":{"function":"testObjenesis_WithoutCache","file":"main/src/test/java/org/objenesis/ObjenesisTest.java"},"deprecated":false,"digest":{"function_hash":"205451917773414574401159189111609315228","length":285},"id":"CVE-2026-116486-8cdadebc","signature_type":"Function","signature_version":"v1"},{"target":{"file":"main/src/main/java/org/objenesis/ObjenesisBase.java","function":"getInstantiatorOf"},"deprecated":false,"digest":{"length":440,"function_hash":"204047615591629093866171755030470343513"},"id":"CVE-2026-116486-9edb8c0f","signature_type":"Function","signature_version":"v1","source":"https://github.com/easymock/objenesis/commit/40f90f435a06b16af74a7398f0007faeaa52c00c"},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/easymock/objenesis/commit/40f90f435a06b16af74a7398f0007faeaa52c00c","target":{"file":"main/src/test/java/org/objenesis/ObjenesisTest.java"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["213564325841916995010720896010474172451","79439431103026949656840072788906166063","29970670894076910260927207256133414223","139147476922970029904424646736730960499","166431383685583951892836342307637647584","133057353653099735085862871061798275323","181284184923406122556342581552210413641","137962023348943774783393333956580703938","188201565209947191931042799242045485065","283003010877768998823326758016101733805","107843799865269791519531085190423165097","118412331324192211380402646897000320533","97246946885047330165773919087333354151","176964976416674506606748688054382202436","49565791852047479810942195567010466490","41403877980709506605016628100278361078","182421487179894606016689409711200168617","69745874336944639147873888265400126848","136207291590659930154414890964871449881","283643901540068054437833187012559952609","66291368663592120077991430662460419332","109910524287764046437276963512491729417","22263108509862739418494859949417756134","64849534483851909711790928845360072170","54478655350484309243963128247361036162"]},"id":"CVE-2026-116486-c534b88b"},{"source":"https://github.com/easymock/objenesis/commit/40f90f435a06b16af74a7398f0007faeaa52c00c","target":{"file":"main/src/test/java/org/objenesis/ObjenesisTest.java","function":"testObjenesis"},"deprecated":false,"digest":{"function_hash":"168242991854984927687719126628417029281","length":184},"id":"CVE-2026-116486-d3370538","signature_type":"Function","signature_version":"v1"},{"id":"CVE-2026-116486-d76762cf","signature_type":"Function","signature_version":"v1","source":"https://github.com/easymock/objenesis/commit/40f90f435a06b16af74a7398f0007faeaa52c00c","target":{"function":"testGetInstantiatorOf","file":"main/src/test/java/org/objenesis/ObjenesisTest.java"},"deprecated":false,"digest":{"length":234,"function_hash":"112890279041742707475582053802662144395"}},{"source":"https://github.com/easymock/objenesis/commit/40f90f435a06b16af74a7398f0007faeaa52c00c","target":{"file":"main/src/main/java/org/objenesis/ObjenesisBase.java","function":"ObjenesisBase"},"deprecated":false,"digest":{"function_hash":"333975108414650358580555202554969558081","length":204},"id":"CVE-2026-116486-efc6d9d5","signature_type":"Function","signature_version":"v1"}],"vanir_signatures_modified":"2026-10-28T07:14:50Z","source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-116486.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"}]}