CVE-2026-110259

OW2 ASM 3.0 before 9.11 Uncontrolled Recursion via ClassWriter.replaceAsmInstructions()

Published Oct 14, 2026 CVSS 4.0 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
OW2 ASM 3.0 before 9.11 contains an uncontrolled recursion vulnerability in ClassWriter.replaceAsmInstructions() that allows attackers to cause denial of service through crafted class files. Attackers can supply a class with a large method containing many long forward jumps, triggering unbounded toByteArray() recursion and a StackOverflowError during transformation.

Analysis

AI-generated

Technical impact

The vulnerability is an uncontrolled recursion (CWE‑674) in the ASM library's ClassWriter.replaceAsmInstructions() method. When a specially crafted class file containing a method with many long forward jumps is processed, the library's toByteArray() recursion expands without bound, triggering a StackOverflowError that crashes the transformation engine. The result is that any application using ASM to load or transform classes can be brought to a halt, compromising availability.

Affected Systems

The flaw exists in OW2 ASM library versions 3.0 up to 9.10.x. Software that embeds these libraries, such as build tools, Java agents, or any Java application that performs bytecode manipulation, is affected. Versions 9.11 and later include the fix.

Risk and Exploitability

The CVSS score of 6.8 indicates moderate severity. The EPSS score is < 1%, indicating a low probability of exploitation, and the flaw is not listed in the CISA KEV catalog, suggesting no widespread exploitation yet. The impact is confined to environments that process untrusted class files. An attacker with the ability to supply malicious class data—such as via a plugin, a compromised CI build, or an insecure class upload mechanism—can trigger a denial of service by exhausting the JVM stack during transformation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OW2 ASM to version 9.11 or later, where the recursion issue has been fixed.
  • If an immediate upgrade is not possible, validate incoming class files to limit method size and forward jump count before they reach ASM. Deploy monitoring to detect StackOverflow errors or abnormal CPU/memory usage during class transformations, and trigger alerts or automatic restarts when such conditions are observed.
  • Execute any remaining ASM transformations in a sandboxed environment, isolating the JVM process to contain StackOverflow exceptions and prevent application crashes.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Ow2
Ow2 asm
Vendors & Products Ow2
Ow2 asm
Type Values Removed Values Added
Description OW2 ASM 3.0 before 9.11 contains an uncontrolled recursion vulnerability in ClassWriter.replaceAsmInstructions() that allows attackers to cause denial of service through crafted class files. Attackers can supply a class with a large method containing many long forward jumps, triggering unbounded toByteArray() recursion and a StackOverflowError during transformation.
Title OW2 ASM 3.0 before 9.11 Uncontrolled Recursion via ClassWriter.replaceAsmInstructions()
Weaknesses CWE-674
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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 26, 2026, 4:24 PM
Reserved
Oct 13, 2026, 6:33 PM
Status
Awaiting Analysis
Published
Oct 14, 2026, 3:17 PM
Modified
Oct 26, 2026, 5:17 PM