OW2 ASM 5.0 before 9.11 Excessive Memory Allocation via BootstrapMethods Attribute
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-110257
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 02:33 UTC · Revision 1
Source evidence
OW2 ASM 5.0 before 9.11 Excessive Memory Allocation via BootstrapMethods Attribute
core-osv · Original sourcePublished 14 Oct 2026, 14:16 UTC
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.
osv:CVE-2026-110257
Complete source record
{
"id": "c34f9284c2cefc67885927028d25730e2799bea67c67f58dbd9f039d70f18421",
"url": "https://osv.dev/vulnerability/CVE-2026-110257",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "OW2 ASM 5.0 before 9.11 Excessive Memory Allocation via BootstrapMethods Attribute",
"summary": "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.",
"evidence": "osv:CVE-2026-110257",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-110257",
"aliases": [
"CVE-2026-110257"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://gitlab.ow2.org/asm/asm",
"type": "GIT",
"events": [
{
"introduced": "46a460a9dcb826f12d6663ccb18fcad876cb492a"
},
{
"fixed": "baeba2ca4e5f8196795340b015ca8b69f39740f5"
},
{
"fixed": "eb5fa95bb0670eaec2ecf9b8a3a501b48e5a967c"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "5.0"
},
{
"fixed": "9.11"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "eb5fa95bb0670eaec2ecf9b8a3a501b48e5a967c"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"ASM_9_10_1",
"ASM_9_10",
"ASM_9_9_1",
"ASM_9_9",
"ASM_9_8",
"ASM_9_7_1",
"ASM_9_7",
"ASM_9_6",
"ASM_9_5",
"ASM_9_4",
"ASM_9_3",
"ASM_9_2",
"ASM_9_1",
"ASM_9_0",
"ASM_9_0_BETA",
"ASM_8_0_1",
"ASM_8_0",
"ASM_7_3_1",
"ASM_7_2",
"ASM_7_2_BETA",
"ASM_7_1",
"ASM_7_0",
"ASM_7_0_BETA",
"ASM_6_2_1",
"ASM_6_2",
"ASM_6_1_1",
"ASM_6_1",
"ASM_6_1_BETA2",
"ASM_6_1_BETA",
"ASM_6_0",
"ASM_6_0_BETA",
"ASM_5_2",
"ASM_5_1",
"ASM_5_0_4",
"ASM_5_0_3",
"ASM_5_0_2",
"ASM_5_0_1",
"ASM_5_0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-110257.json"
}
}
],
"modified": "2026-10-28T02:30:25.347609763Z",
"provider": "osv",
"references": [
"https://repo1.maven.org/maven2/",
"https://asm.ow2.io/versions.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/110xxx/CVE-2026-110257.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-110257",
"https://www.vulncheck.com/advisories/ow2-asm-5.0-before-9.11-excessive-memory-allocation-via-bootstrapmethods-attribute",
"https://gitlab.ow2.org/asm/asm/-/commit/eb5fa95bb0670eaec2ecf9b8a3a501b48e5a967c",
"https://gitlab.ow2.org/asm/asm/-/merge_requests/456",
"https://gitlab.ow2.org/asm/asm",
"https://gitlab.ow2.org/asm/asm/-/blob/ASM_9_10_1/asm/src/main/java/org/objectweb/asm/ClassReader.java#L3497"
],
"provider_metadata": {
"cwe_ids": [
"CWE-789"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/110xxx/CVE-2026-110257.json"
}
},
"related_cves": [
{
"value": "CVE-2026-110257",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 491935,
"published_at": "2026-10-14T14:16:30.933+00:00"
}