All vulnerabilities

Maven

CVE-2026-145564

ClassGraph before 4.8.201, 5.0.3, and 6.0.3 DoS via Resource.load() Decompression

Severity
High 8.2
Published
5 Dec 2026
Last changed
5 Dec 2026
Added to UpHeron
5 Dec 2026
Fixed in
4.8.201, 5.0.3, 6.0.3
Weakness
Decompression bomb (CWE-409)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Take it down
CVSS vector
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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
io.github.classgraph:classgraphMaven · osv:Maven:io.github.classgraph:classgraph
  • Every version before 4.8.201
  • From 5.0.0 before 5.0.3
  • From 6.0.0 before 6.0.3
io.github.classgraph:classgraph-vfsMaven · osv:Maven:io.github.classgraph:classgraph-vfs
  • From 5.0.0 before 5.0.3
  • From 6.0.0 before 6.0.3

About io.github.classgraph:classgraph

This is the only vulnerability in io.github.classgraph:classgraph in our list.

About io.github.classgraph:classgraph-vfs

This is the only vulnerability in io.github.classgraph:classgraph-vfs in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-145564