CVE Catalog

CVE-2026-145564

MediumCVSS 5.9
Published: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.73%

56th percentile - higher than 56% of all known CVEs

Summary

ClassGraph before 4.8.201, 5.x before 5.0.3, and 6.x before 6.0.3 contains a denial of service vulnerability that allows attackers to exhaust memory by supplying archives with unbounded deflated entries. Attackers can provide a crafted jar or zip whose small entry inflates to hundreds of megabytes when read via Resource.load(), Resource.open(), or getContentAsString(), crashing the scanning JVM with an OutOfMemoryError.

Risk Assessment

An attacker can crash the JVM during archive scanning, leading to application unavailability and potential data loss.

Recommendation

Update ClassGraph to version 4.8.201, 5.0.3, or 6.0.3 (or later). Avoid scanning untrusted jar/zip archives.

Related vulnerabilities

Original NVD description (English source)

ClassGraph before 4.8.201, 5.x before 5.0.3, and 6.x before 6.0.3 contains a denial of service vulnerability that allows attackers to exhaust memory by supplying archives with unbounded deflated entries. Attackers can provide a crafted jar or zip whose small entry inflates to hundreds of megabytes when read via Resource.load(), Resource.open(), or getContentAsString(), crashing the scanning JVM with an OutOfMemoryError.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS