Skip to main content
VulnerabilityPublished Updated

CVE-2023-2976: Google Guava · Creation of Temporary File With Insecure Permissions

Affects Google GuavaSource CVE Database V5

0

Not known to be exploited · CVSS 5.5 Medium · fixed in 32.0.0 : update Google Guava when convenient.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 3.1 base score
5.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 15% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 32.0.0
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Jun 2023

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
Mavencom.google.guava/guavapkg:maven/com.google.guava/guavaOther threatsAffected
  • =1.0
  • <=31.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should immediately upgrade all instances of Google Guava to version 32.0.1, which contains the fix for this vulnerability and resolves Windows compatibility issues found in 32.0.0. For environments where immediate upgrade is not feasible, organizations should restrict access to the Java temporary directory to trusted users and processes only, minimizing the risk of unauthorized file access. Implementing strict filesystem permissions and using isolated temporary directories per application or user can reduce exposure. Additionally, developers should audit their use of FileBackedOutputStream and consider alternative secure temporary file handling mechanisms that explicitly set restrictive permissions. Monitoring and logging access to temporary directories can help detect suspicious activity. For Android applications, ensure that the app sandboxing and file storage permissions are correctly configured to prevent other apps from accessing temporary files. Finally, incorporate this vulnerability into vulnerability management and patching workflows to ensure timely updates across all affected systems.

Description

Use of Java's default temporary directory for file creation in `FileBackedOutputStream` in Google Guava versions 1.0 to 31.1 on Unix systems and Android Ice Cream Sandwich allows other users and apps on the machine with access to the default Java temporary directory to be able to access the files created by the class. Even though the security vulnerability is fixed in version 32.0.0, we recommend using version 32.0.1 as version 32.0.0 breaks some functionality under Windows.

References

Community reviews

Loading reviews…