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.
Published: 2026-10-14
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Patch
AI Analysis

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.

Generated by OpenCVE AI on October 15, 2026 at 21:55 UTC.

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 15, 2026 at 21:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 14 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 14 Oct 2026 14:30:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-14T15:55:22.107Z

Reserved: 2026-10-13T18:33:55.549Z

Link: CVE-2026-110257

cve-icon Vulnrichment

Updated: 2026-10-14T14:49:41.341Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-14T15:17:07.350

Modified: 2026-10-14T16:17:41.060

Link: CVE-2026-110257

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-15T22:00:20Z

Weaknesses
  • CWE-789

    Memory Allocation with Excessive Size Value