MediumGHSA-mvr2-9pj6-7w5jCVE-2018-10237

Denial of Service in Google Guava

Published 15 Jun 2020 · Updated 10 Sept 2026

Is your project on an affected com.google.guava:guava?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
>=11.0 <24.1.1-android
Fixed in
24.1.1-android
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=com.google.guava:guava -DdepVersion=24.1.1-android -DforceVersion=true
Affected
<=17.0
Fixed in
No fix released
Affected
<=11.0.1
Fixed in
No fix released
Affected
<=7.4.0
Fixed in
No fix released
Affected
<=14.0.1-h-3
Fixed in
No fix released
Affected
0.11.1
Fixed in
No fix released

Details

Unbounded memory allocation in Google Guava 11.0 through 24.x before 24.1.1 allows remote attackers to conduct denial of service attacks against servers that depend on this library and deserialize attacker-provided data, because the AtomicDoubleArray class (when serialized with Java serialization) and the CompoundOrdering class (when serialized with GWT serialization) perform eager allocation without appropriate checks on what a client has sent and whether the data size is reasonable.

Is GHSA-mvr2-9pj6-7w5j in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected com.google.guava:guava, and gives you the command that fixes it.

More advisories for com.google.guava:guava

  • HighCVE-2026-102554Google Guava: CompactHashMap/CompactHashSet/MapMakerInternalMap deserialization triggers uncontrolled memory allocation · 27 Oct 2026
  • MediumCVE-2023-2976Guava vulnerable to insecure use of temporary directory · 14 Jun 2023
  • LowCVE-2020-8908Information Disclosure in Guava · 25 Mar 2021
com.google.guava:guava security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.