On this page (6 sections)
Ubuntu published USN-9206-1 on 2026-11-26, covering three vulnerabilities in Guava, Google's widely used Java core library. Two relate to temporary files and directories being readable by other users on the same machine. The third, CVE-2026-102554, lets crafted serialized data exhaust a JVM's memory and cause a denial of service.
If you run Java applications on Ubuntu servers, build Java projects that depend on Guava, or manage hosting where several users share a machine, this is worth a quick check. Guava is a common dependency of many Java tools, so you may be running it without having chosen it.
What the notice covers
The Ubuntu notice groups three separate problems. The first two are local information disclosure issues: Ubuntu says Guava did not correctly handle permissions for certain temporary directories, so an attacker could possibly read or modify sensitive information, and that this only affected Ubuntu 22.04 LTS. The third was reported by Kaya Emre Arikan: Guava did not correctly handle deserializing certain data, and an attacker could possibly cause a denial of service if a user or automated system were tricked into opening a specially crafted file.
| CVE | Weakness | CVSS | Vulnerable | Patched |
|---|---|---|---|---|
| CVE-2026-102554 | Unbounded allocation during deserialization (CWE-770, CWE-502) | 8.2 High | 4.0 through 33.7.1 | 33.7.2 |
| CVE-2023-2976 | Default temp directory used by FileBackedOutputStream (CWE-552) | 5.5 Medium | 1.0 to 31.1 | 32.0.0 (32.0.1 recommended) |
| CVE-2020-8908 | World-readable directory from Files.createTempDir() (CWE-378, CWE-732) | 3.3 Low | All versions | 32.0.0-android per advisory; see below |
Technical details
CVE-2026-102554: memory exhaustion on deserialization
According to the GitHub advisory, CompactHashMap, CompactHashSet and MapMakerInternalMap read a size value from a Java serialization stream and then eagerly allocate arrays of that size without checking it against the data that actually follows. The advisory states that a 72-byte stream containing one tiny element can force a multi-gigabyte allocation and crash a JVM with OutOfMemoryError. The classes need no special setup beyond Guava being on the classpath, so the application does not have to call these collections directly.
The practical lesson is a familiar one: native Java deserialization of untrusted input is risky. The exposure is real only where your application deserializes data from a source an attacker can influence, such as uploaded files, message queues or network protocols that use Java serialization.
CVE-2023-2976 and CVE-2020-8908: temp directory permissions
CVE-2023-2976 affects FileBackedOutputStream, which used Java's default temporary directory. On Unix systems, other users and apps with access to that directory could read the files it created. The CVSS vector is local with low privileges required, so an attacker needs an account or a process on the same machine. The advisory notes that 32.0.0 fixes it but recommends 32.0.1, because 32.0.0 breaks some functionality under Windows.
CVE-2020-8908 concerns com.google.common.io.Files.createTempDir(), which creates a directory readable by others by default on Unix-like systems. This one is different: the upstream issue states that moving to Guava 30.0 does not fix it, because the method was only deprecated. The GitHub advisory lists 32.0.0-android as the patched version, while maintainers also recommend changing permissions after creation or removing uses of the method. Treat the safest fix as not calling the method at all.
Who is realistically exposed
- Shared hosting and multi-user servers running Java code on Ubuntu 22.04 LTS, where another local user could read temp files. Single-tenant servers carry much lower risk from the two temp directory issues.
- Java services that deserialize untrusted data (CVE-2026-102554). A crashed JVM means downtime for the site or API behind it.
- Developers who ship Guava inside fat JARs, containers or WAR files. An operating system package update does not change a copy bundled in your own build, so you must update the dependency and rebuild.
How to check your exposure
On an Ubuntu host, this read-only command lists installed packages with guava in the name, so you can see whether a system Guava package is present and which version. The notice excerpt does not give fixed package versions, so compare against the Ubuntu notice for your release.
apt list --installed 2>/dev/null | grep -i guavaFor a Maven project, this prints where com.google.guava:guava appears in your dependency tree and which version resolves. For CVE-2026-102554, anything from 4.0 through 33.7.1 is in the affected range.
mvn dependency:tree -Dincludes=com.google.guava:guavaAlso search your own source for calls to Files.createTempDir() and for uses of FileBackedOutputStream, and note any place where ObjectInputStream reads data from outside your trust boundary.
What to do now
- Read USN-9206-1 and confirm which of your Ubuntu releases are covered.
- Update the system packages with your normal process: run apt update, then apt upgrade, and restart Java services so they load the patched libraries.
- For projects that bundle Guava, raise the dependency to 33.7.2 or later to address CVE-2026-102554, rebuild and redeploy. Prefer 32.0.1 or later over 32.0.0 for the temp directory fix.
- Replace calls to Files.createTempDir() with java.nio.file.Files.createTempDirectory(), which the maintainers say creates directories with permissions of 700.
- If you cannot change the code yet, point the java.io.tmpdir system property to a directory with restrictive permissions when starting the JVM, as the maintainers suggest.
- Avoid Java native deserialization of untrusted data. Where it cannot be removed, restrict the sources of that data.
- Set memory limits and restart policies on Java services so one crashed JVM recovers quickly.
This command refreshes the package lists and installs available updates on Ubuntu. Run it as root or with sudo, then restart your Java services.
sudo apt update && sudo apt upgradeDetection and monitoring
CVE-2026-102554 would show up as JVM crashes or repeated OutOfMemoryError entries in application logs, often right after a request or file that triggers deserialization. Alert on those errors and on unexpected service restarts. For the temp directory issues, review permissions on your application's temp locations and watch for unfamiliar local accounts on shared hosts.
If a Java-backed site is public, uptime monitoring helps you notice a crash quickly; see uptime monitoring explained and Webforta Monitor. Keep in mind that outside checks cannot see library versions inside your servers, so dependency inventory remains your job. For a wider routine, the small business website security guide is a useful baseline.
The research does not report active exploitation of any of these three CVEs, but the deserialization advisory describes a confirmed denial of service against the then-current release, so do not wait long on internet-facing services that accept serialized data.
Sources
This article is based on the public sources below. Details can change as vendors and researchers publish more; check the original advisories before acting on version numbers.
- CVE-2020-8908 - GitHub Advisory Database
- CVE-2020-8908: Files::createTempDir local information disclosure vulnerability · Issue #4011 · google/guava
- CVE-2023-2976 - GitHub Advisory Database
- Security scan reported problem with com.google.common.io.FileBackedOutputStream · Issue #2575 · google/guava
- CVE-2026-102554 - GitHub Advisory Database
- USN-9206-1: Guava vulnerabilities
