CVE-2026-110257
CVE-2026-110257 · OW2 ASM 5.0 before 9.11 Excessive Memory Allocation via BootstrapMethods Attribute
This page contains facts from public vulnerability sources. Check the original advisory before updating.
OW2 ASM 5.0 before 9.11 contains an excessive memory allocation vulnerability in ClassReader.readBootstrapMethodsAttribute() that sizes an int array from num_bootstrap_methods without validating attribute_length. Attackers can supply a crafted class file of about 100 bytes that forces roughly 2 GB allocation, causing an OutOfMemoryError that crashes the JVM or consuming thread.
CVSS 6.8 · Medium · EPSS 0.2% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
asm
- Versions
- ≥ 5.0, < 9.11: Affected (custom)
Update to 9.11
asm Debian:12
- Versions
- 9.10.1-1
- 9.11.1-1
- 9.4-1
- 9.5-1
- 9.7-1
- 9.7-2
- 9.7.1-1
- 9.8-1
- 9.8-2
- 9.9.1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
asm Debian:13
- Versions
- 9.10.1-1
- 9.11.1-1
- 9.8-1
- 9.8-2
- 9.9.1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
asm Debian:14
- Versions
- 9.10.1-1
- 9.8-1
- 9.8-2
- 9.9.1-1
- Affected ranges
- ECOSYSTEM: < 9.11.1-1
Update to 9.11.1-1
asm Ubuntu:18.04:LTS
- Versions
- 6.0~alpha-1
- 6.0~alpha-2
- 6.0-1
- 7.0-1~18.04
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
asm Ubuntu:20.04:LTS
- Versions
- 7.1-2
- 7.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
asm Ubuntu:22.04:LTS
- Versions
- 9.1-1
- 9.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
asm Ubuntu:24.04:LTS
- Versions
- 9.4-1
- 9.5-1
- 9.6~us1-0ubuntu1
- 9.7-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
asm Ubuntu:26.10
- Versions
- 9.9.1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
asm Ubuntu:26.04:LTS
- Versions
- 9.8-1
- 9.8-2
- 9.9.1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://gitlab.ow2.org/asm/asm/-/merge_requests/456
- https://gitlab.ow2.org/asm/asm/-/commit/eb5fa95bb0670eaec2ecf9b8a3a501b48e5a967c
- https://gitlab.ow2.org/asm/asm/-/blob/ASM_9_10_1/asm/src/main/java/org/objectweb/asm/ClassReader.java#L3497
- https://asm.ow2.io/versions.html
- https://www.vulncheck.com/advisories/ow2-asm-5.0-before-9.11-excessive-memory-allocation-via-bootstrapmethods-attribute
- https://nvd.nist.gov/vuln/detail/CVE-2026-110257