Skip to main content
CVE-2026-145564VulnerabilityPublished

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

0
Compare
Authoritative record:CVE-2026-145564· High 8.2

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

CVSS 4.0 base score
8.2High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.08.2
CNA (VulnCheck)CVSS 3.15.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Mavenio.github.classgraph/classgraphpkg:maven/io.github.classgraph/classgraphOther threatsAffected
  • <4.8.201
  • >=5.0.0 <5.0.3
  • >=6.0.0 <6.0.3
Fixed in
  • 4.8.201
  • 5.0.3
  • 6.0.3

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

Community reviews

Loading reviews…