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
Affects classgraphSource GCVE Database
Not known to be exploited · CVSS 8.2 High · fixed in 6.0.3 : patch classgraph soon.
Data as of 5 Dec 2026, 19:57 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.2 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 5.9 |
- Patch
- Available – fixed in 6.0.3, 5.0.3, 4.8.201
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 5 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Dec 2026.
What to do
Upgrade io.github.classgraph/classgraph to 6.0.3, 5.0.3 or 4.8.201.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Mavenio.github.classgraph/classgraphpkg:maven/io.github.classgraph/classgraphOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, avoid processing untrusted or unverified archives with ClassGraph methods Resource.load(), Resource.open(), or getContentAsString().
Description
ClassGraph versions before 4.8.201, 5.x before 5.0.3, and 6.x before 6.0.3 have a denial of service vulnerability. This flaw allows attackers to cause an OutOfMemoryError by supplying specially crafted archives with unbounded deflated entries that inflate to large sizes when processed. The vulnerability is triggered when using Resource.load(), Resource.open(), or getContentAsString() methods to read these archives, leading to JVM crashes due to memory exhaustion.
References
- github.com/classgraph/classgraph/security/advisories/GHSA-vxq2-2gjm-4369 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-145564 (opens in a new tab)
- github.com/classgraph/classgraph/commit/114e5fcdce78234edc110737552aa2937264d33e (opens in a new tab)
- github.com/classgraph/classgraph/commit/2833ac8467639519a5db2d34d4bd1d95645a9dc7 (opens in a new tab)
- github.com/classgraph/classgraph/commit/288bc814ad9db7e66bd5541ced212bdadf12ed22 (opens in a new tab)
- github.com/classgraph/classgraph/blob/classgraph-6.0.2/classgraph-vfs/src/main/java/io/github/classgraph/vfs/internal/zip/FastZipEntry.java (opens in a new tab)
- github.com/classgraph/classgraph/releases/tag/classgraph-4.8.201 (opens in a new tab)
- github.com/classgraph/classgraph/releases/tag/classgraph-5.0.3 (opens in a new tab)
- github.com/classgraph/classgraph/releases/tag/classgraph-6.0.3 (opens in a new tab)
- vulncheck.com/advisories/classgraph-before-4.8.201-5.0.3-and-6.0.3-dos-via-resource-load-decompression (opens in a new tab)