CVE-2026-145564
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| classgraph | classgraph | {"endExcluding":"4.8.201"} | 4.8.201 |
| classgraph | classgraph | {"startIncluding":"5.0.0","endExcluding":"5.0.3"} | 5.0.3 |
| classgraph | classgraph | {"startIncluding":"6.0.0","endExcluding":"6.0.3"} | 6.0.3 |
| classgraph | classgraph-vfs | {"startIncluding":"5.0.0","endExcluding":"5.0.3"} | 5.0.3 |
| classgraph | classgraph-vfs | {"startIncluding":"6.0.0","endExcluding":"6.0.3"} | 6.0.3 |
References
- https://github.com/classgraph/classgraph/blob/classgraph-6.0.2/classgraph-vfs/src/main/java/io/github/classgraph/vfs/internal/zip/FastZipEntry.java#L356-L375
- https://github.com/classgraph/classgraph/commit/114e5fcdce78234edc110737552aa2937264d33e
- https://github.com/classgraph/classgraph/commit/2833ac8467639519a5db2d34d4bd1d95645a9dc7
- https://github.com/classgraph/classgraph/commit/288bc814ad9db7e66bd5541ced212bdadf12ed22
- https://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.201
- https://github.com/classgraph/classgraph/releases/tag/classgraph-5.0.3
- https://github.com/classgraph/classgraph/releases/tag/classgraph-6.0.3
- https://github.com/classgraph/classgraph/security/advisories/GHSA-vxq2-2gjm-4369
- https://www.vulncheck.com/advisories/classgraph-before-4.8.201-5.0.3-and-6.0.3-dos-via-resource-load-decompression
CWEs
CWE-409
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.