CVE-2026-110257

OW2 ASM 5.0 before 9.11 Excessive Memory Allocation via BootstrapMethods Attribute

Published Oct 14, 2026 CVSS 4.0 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
OW2 ASM 5.0 before 9.11 contains an excessive memory allocation vulnerability in ClassReader.readBootstrapMethodsAttribute() that sizes an int array from num_bootstrap_methods without validating attribute_length. Attackers can supply a crafted class file of about 100 bytes that forces roughly 2 GB allocation, causing an OutOfMemoryError that crashes the JVM or consuming thread.

Analysis

AI-generated

Technical impact

OW2 ASM contains an excessive memory allocation flaw in ClassReader.readBootstrapMethodsAttribute() that allocates an integer array based on num_bootstrap_methods without verifying attribute_length. A crafted class file of roughly 100 bytes can force the allocation of about 2 GiB, leading to an OutOfMemoryError that crashes the JVM or the consuming thread. This creates a denial‑of‑service condition for any process using ASM.

Affected Systems

OW2 ASM versions 5.0 through 9.10.1 are affected. Applications that incorporate one of these versions to read or analyze Java class files are vulnerable.

Risk and Exploitability

The CVSS score is 6.8, indicating moderate severity. The EPSS score is 0.00172, indicating a very low probability of exploitation, and the vulnerability is not listed in CISA KEV. The likely attack vector is the injection of a malicious class file into an application or JVM that uses ASM before version 9.11, which results only in resource exhaustion and application crash rather than arbitrary code execution.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to ASM 9.11 or later, which removes the vulnerable code path.
  • Prior to parsing a class file, check that attribute_length and num_bootstrap_methods are within acceptable bounds, or process the file in a sandboxed environment with strict memory limits.
  • Configure the JVM with conservative heap settings or use OutOfMemoryError handlers to prevent a single crashed thread from bringing down the entire application.

Generated by OpenCVE AI on October 20, 2026 at 07:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Ow2
Ow2 asm
Vendors & Products Ow2
Ow2 asm
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description OW2 ASM 5.0 before 9.11 contains an excessive memory allocation vulnerability in ClassReader.readBootstrapMethodsAttribute() that sizes an int array from num_bootstrap_methods without validating attribute_length. Attackers can supply a crafted class file of about 100 bytes that forces roughly 2 GB allocation, causing an OutOfMemoryError that crashes the JVM or consuming thread.
Title OW2 ASM 5.0 before 9.11 Excessive Memory Allocation via BootstrapMethods Attribute
Weaknesses CWE-789
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 6.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

  • CWE-789

    Memory Allocation with Excessive Size Value

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 14, 2026, 3:55 PM
Reserved
Oct 13, 2026, 6:33 PM
Status
Awaiting Analysis
Published
Oct 14, 2026, 3:17 PM
Modified
Oct 14, 2026, 4:17 PM
Severity
Moderate
Public date
Oct 14, 2026, 2:16 PM