---
id: CVE-2026-110259
title: >-
  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
summary: >-
  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
  meth…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
cwe:
  - CWE-674
published: '2026-10-14'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T16:14:23.840'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-110259'
references:
  - url: 'https://asm.ow2.io/versions.html'
    label: disclosure@vulncheck.com
  - url: >-
      https://gitlab.ow2.org/asm/asm/-/blob/ASM_9_10_1/asm/src/main/java/org/objectweb/asm/ClassWriter.java#L751
    label: disclosure@vulncheck.com
  - url: >-
      https://gitlab.ow2.org/asm/asm/-/commit/e9aca627c17e1619bcb8059afb43382dac6b275f
    label: disclosure@vulncheck.com
  - url: 'https://gitlab.ow2.org/asm/asm/-/merge_requests/459'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/ow2-asm-3.0-before-9.11-uncontrolled-recursion-via-classwriter-replaceasminstructions
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-14T15:36:13.997Z'
vendor: OW2
product: ASM
affected:
  - ASM >= 3.0 < 9.11
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
