Intel

AIKIDO-2026-357785

asm is vulnerable to Memory Allocation with Excessive Size Value

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

55

CVE Score

Medium

Memory Allocation with Excessive Size Value

Are you affected? Scan for Free

TL;DR

ClassReader.readBootstrapMethodsAttribute() in asm sizes an int array from num_bootstrap_methods and walks that many bootstrap method entries. It does not first check that the BootstrapMethods attribute fits in the class file. A class file of a few dozen bytes can set the count to its maximum unsigned short value, 65535, and force a large allocation plus reads past the attribute. The fix rejects an attribute length that runs past the class bytes.

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 reads untrusted class files.

Package

Versions

5.0 - 9.10.1

Fixed in 9.11

Background info

asm is vulnerable to Memory Allocation with Excessive Size Value in versions 5.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