Inefficient Algorithmic Complexity in Guava: Google Core Libraries For Java - CVE-2026-118042
Published: November 30, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service in applications that populate affected Guava collections from request data.
The vulnerability exists due to inefficient algorithmic complexity in the chained hash tables used by HashBiMap and LinkedHashMultimap.ValueSet when many distinct entries have the same hash code, causing insertion to scan an increasingly long bucket and collection construction to take quadratic time. A remote attacker can supply colliding keys or values for HashBiMap, or colliding values under a single key for LinkedHashMultimap, to consume excessive CPU time and degrade application responsiveness.