Description
OW2 ASM 3.1 before 9.11 contains an excessive memory allocation vulnerability in the asm-commons AdviceAdapter that allows attackers to exhaust memory by supplying crafted class files. Attackers can craft bytecode with many forward jump targets in constructors, causing unbounded stack copies in forwardJumpStackFrames and allocation of hundreds of megabytes, leading to denial of service.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OW2 | ASM | 3.1 – < 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/464 patch
- https://gitlab.ow2.org/asm/asm/-/commit/b7e6c88801790c9da214efd0498aecb9402796a0 patch
- https://gitlab.ow2.org/asm/asm/-/blob/ASM_9_10_1/asm-commons/src/main/java/org/objectweb/asm/commons/AdviceAdapter.java#L96 technical-description
- ASM 9.11 Release Notes release-notes
- VulnCheck Advisory: OW2 ASM 3.1 before 9.11 Excessive Memory Allocation in AdviceAdapter third-party-advisory