Intel

AIKIDO-2026-965507

asm is vulnerable to Memory Allocation with Excessive Size Value

CVE-2026-110258Published 3 days ago
November 4, 2026

55

CVE Score

Medium

Memory Allocation with Excessive Size Value

Are you affected? Scan for Free

TL;DR

Label.addSubroutineRetSuccessors() in asm builds the return edges for a jsr subroutine. The JVM allows only one ret for each jsr, but the method keeps adding edges for every extra ret in a class file. Those edges grow without a bound while stack map frames or the maximum stack are computed, and the process can run out of memory. The fix throws RuntimeException when a second ret is found for the same subroutine.

How do I fix this?

Upgrade the org.ow2.asm:asm library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and the application computes frames or the maximum stack for class files that use jsr and ret.

Package

Versions

3.0 - 9.10.1

Fixed in 9.11

Background info

asm is vulnerable to Memory Allocation with Excessive Size Value in versions 3.0 - 9.10.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea