CVE-2026-145564
NVD
Vulnerability 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.
CVSS v4.0 Base Metrics — Score 8.2 (HIGH)
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityHigh
Attack RequirementsPresent
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)None
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 5.9)
CVSS v3.1 Base Metrics — Score 5.9 (MEDIUM)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityHigh
Affected & Patched Versions
- classgraph < 4.8.201
- classgraph >= 5.0.0 and < 5.0.3
- classgraph >= 6.0.0 and < 6.0.3
- classgraph-vfs >= 5.0.0 and < 5.0.3
- classgraph-vfs >= 6.0.0 and < 6.0.3
- classgraph 4.8.201
- classgraph 5.0.3
- classgraph 6.0.3
- classgraph-vfs 5.0.3
- classgraph-vfs 6.0.3
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run classgraph and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Dec 5, 2026Published
- Dec 5, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new classgraph CVEsYou are reading CVE-2026-145564. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Vendor Advisoryhttps://github.com/classgraph/classgraph/security/advisories/GHSA-vxq2-2gjm-4369
- Patchhttps://github.com/classgraph/classgraph/commit/288bc814ad9db7e66bd5541ced212bdadf12ed22
- Patchhttps://github.com/classgraph/classgraph/commit/2833ac8467639519a5db2d34d4bd1d95645a9dc7
- Patchhttps://github.com/classgraph/classgraph/commit/114e5fcdce78234edc110737552aa2937264d33e
- Referencehttps://github.com/classgraph/classgraph/releases/tag/classgraph-6.0.3
- Referencehttps://github.com/classgraph/classgraph/releases/tag/classgraph-5.0.3
- Referencehttps://github.com/classgraph/classgraph/releases/tag/classgraph-4.8.201
- Referencehttps://github.com/classgraph/classgraph/blob/classgraph-6.0.2/classgraph-vfs/src/main/java/io/github/classgraph/vfs/internal/zip/FastZipEntry.java#L356-L375
- Referencehttps://www.vulncheck.com/advisories/classgraph-before-4.8.201-5.0.3-and-6.0.3-dos-via-resource-load-decompression
Data last checked: Dec 5, 2026 15:26 UTC