Description
OW2 ASM 3.0 before 9.11 contains an uncontrolled memory allocation vulnerability in the asm-commons JSRInlinerAdapter that inlines JSR/RET subroutines without memory or work limits. Attackers can supply a crafted class file with nested subroutines to force O(2^n) memory allocation, causing an OutOfMemoryError that crashes the JVM.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OW2 | ASM | 3.0 – < 9.11 | 9.11 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | asm | 9.11.1-1 | — |
| Debian 13 | asm | No fix yet | — |
| Debian 12 | asm | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | asm | No fix yet | — |
| Ubuntu 26.04 LTS | asm | No fix yet | — |
| Ubuntu 24.04 LTS | asm | No fix yet | — |
| Ubuntu 22.04 LTS | asm | No fix yet | — |
| Ubuntu 20.04 LTS | asm | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | asm | No fix yet | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | javapackages-bootstrap | No fix yet | — |
| Azure Linux 3 | objectweb-asm | 9.11.1-1 | — |
References
- https://gitlab.ow2.org/asm/asm/-/merge_requests/466 patch
- https://gitlab.ow2.org/asm/asm/-/commit/f2b988af48719f85a274f2a05e37bc55c0cd22a1 patch
- https://gitlab.ow2.org/asm/asm/-/blob/ASM_9_10_1/asm-commons/src/main/java/org/objectweb/asm/commons/JSRInlinerAdapter.java#L232 technical-description
- ASM 9.11 Release Notes release-notes
- VulnCheck Advisory: OW2 ASM 3.0 before 9.11 Exponential Memory Allocation in JSRInlinerAdapter third-party-advisory