Inefficient Algorithmic Complexity in Guava: Google Core Libraries For Java - CVE-2026-118042

 

Inefficient Algorithmic Complexity in Guava: Google Core Libraries For Java - CVE-2026-118042

Published: November 30, 2026


Vulnerability identifier: #VU171111
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-118042
CWE-ID: CWE-407
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

Guava: Google Core Libraries For Java

How to mitigate CVE-2026-118042

Install security update from vendor's website.

Guava: Google Core Libraries For Java - update to 33.8.0

External References

Related Security Bulletins