Memory Allocation with Excessive Size Value Affecting org.ow2.asm:asm package, versions [5.0,9.11)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.17% (7th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Memory Allocation with Excessive Size Value vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGOW2ASM-21715442
  • published26 Oct 2026
  • disclosed14 Oct 2026
  • creditYu Bao

Introduced: 14 Oct 2026

NewCVE-2026-110257  (opens in a new tab)
CWE-770  (opens in a new tab)
CWE-789  (opens in a new tab)

How to fix?

Upgrade org.ow2.asm:asm to version 9.11 or higher.

Overview

Affected versions of this package are vulnerable to Memory Allocation with Excessive Size Value via readBootstrapMethodsAttribute() in ClassReader. When an application parses an attacker-supplied class file, a crafted BootstrapMethods attribute with an unchecked declared length can trigger an allocation of roughly 2 GB from a file of about 100 bytes, causing an OutOfMemoryError that crashes the JVM or the thread processing the class.

CVSS Base Scores

version 4.0
version 3.1