Description
OW2 ASM 3.0 before 9.11 contains an excessive memory allocation vulnerability in Label.addSubroutineRetSuccessors() that fails to enforce the single-RET-per-JSR rule. Attackers can supply a crafted invalid class file with multiple RET instructions for one JSR, triggering a roughly 2 GB allocation 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 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | maven3.9 +1 | 3.9.16-0.4.hum1 | RHSA-2026:83847 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | javapackages-bootstrap | No fix yet | — |
| Azure Linux 3 | objectweb-asm | 9.11.1-1 | — |
Advisories 1
- RHSA-2026:83847 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 20, 2026
References
- https://gitlab.ow2.org/asm/asm/-/merge_requests/458 patch
- https://gitlab.ow2.org/asm/asm/-/commit/4dabfe0aef14f8cccb0617640a4add8fbcc4ed36 patch
- https://gitlab.ow2.org/asm/asm/-/blob/ASM_9_10_1/asm/src/main/java/org/objectweb/asm/Label.java#L568 technical-description
- ASM 9.11 Release Notes release-notes
- VulnCheck Advisory: OW2 ASM 3.0 before 9.11 Excessive Memory Allocation via Multiple RET Instructions third-party-advisory