GHSA-g9hx-mj27-r452MediumCVSS 5.5
OW2 ASM 3.0 before 9.11 contains an uncontrolled recursion vulnerability in ClassWriter...
🔗 CVE IDs covered (1)
📋 Description
OW2 ASM 3.0 before 9.11 contains an uncontrolled recursion vulnerability in ClassWriter.replaceAsmInstructions() that allows attackers to cause denial of service through crafted class files. Attackers can supply a class with a large method containing many long forward jumps, triggering unbounded toByteArray() recursion and a StackOverflowError during transformation.
🔗 References (7)
- https://nvd.nist.gov/vuln/detail/CVE-2026-110259
- https://asm.ow2.io/versions.html
- https://gitlab.ow2.org/asm/asm/-/blob/ASM_9_10_1/asm/src/main/java/org/objectweb/asm/ClassWriter.java#L751
- https://gitlab.ow2.org/asm/asm/-/commit/e9aca627c17e1619bcb8059afb43382dac6b275f
- https://gitlab.ow2.org/asm/asm/-/merge_requests/459
- https://www.vulncheck.com/advisories/ow2-asm-3.0-before-9.11-uncontrolled-recursion-via-classwriter-replaceasminstructions
- https://github.com/advisories/GHSA-g9hx-mj27-r452