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

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.

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

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 yet.

History

Tue, 27 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 27 Oct 2026 04:30:00 +0000

Type Values Removed Values Added
First Time appeared Ow2
Ow2 asm
Vendors & Products Ow2
Ow2 asm

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

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


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-26T16:24:12.006Z

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

Link: CVE-2026-110259

cve-icon Vulnrichment

Updated: 2026-10-26T16:24:05.367Z

cve-icon NVD

Status : Awaiting Analysis

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

Modified: 2026-10-26T17:17:13.940

Link: CVE-2026-110259

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-26T22:38:57Z

Weaknesses