CVE-2026-145564
Received Received - Intake

ClassGraph Memory Exhaustion via Malicious Archive

Vulnerability report for CVE-2026-145564, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-05

Last updated on: 2026-12-05

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-05
Last Modified
2026-12-05
Generated
2026-12-06
AI Q&A
2026-12-05
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 5 associated CPEs
Vendor Product Version / Range
classgraph classgraph From 0 (inc) to 4.8.201 (exc)
classgraph classgraph From 5.0.0 (inc) to 5.0.3 (exc)
classgraph classgraph From 6.0.0 (inc) to 6.0.3 (exc)
classgraph classgraph-vfs From 5.0.0 (inc) to 5.0.3 (exc)
classgraph classgraph-vfs From 6.0.0 (inc) to 6.0.3 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-409 The product does not handle or incorrectly handles a compressed input with a very high compression ratio that produces a large output.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

ClassGraph before versions 4.8.201, 5.0.3, and 6.0.3 has a denial of service vulnerability. Attackers can create specially crafted jar or zip files with small entries that inflate to hundreds of megabytes when processed. This causes the JVM to run out of memory and crash with an OutOfMemoryError.

Detection Guidance

To detect this vulnerability, scan systems using ClassGraph versions before 4.8.201, 5.0.3, or 6.0.3. Check for crafted JAR/ZIP files causing OutOfMemoryError during scanning. Use commands like 'java -jar classgraph.jar -scan' and monitor for crashes or excessive memory usage.

Impact Analysis

If you use an affected version of ClassGraph, an attacker could send a malicious archive file that crashes your application or system by consuming all available memory. This could lead to service disruption or downtime for applications relying on ClassGraph for scanning or processing.

Compliance Impact

This vulnerability could impact compliance with GDPR and HIPAA by enabling denial-of-service attacks that disrupt services handling sensitive data. GDPR requires data protection measures against unauthorized access or disruption, while HIPAA mandates availability of health data systems. Exploits causing OutOfMemoryError could violate these requirements by impairing system functionality.

Mitigation Strategies

Upgrade ClassGraph to version 4.8.201 or later, 5.0.3 or later, or 6.0.3 or later to address the denial of service vulnerability caused by unbounded deflated entries in archives.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-145564. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...