CVEfocus › CVE database › CVE-2023-2976

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

CVSS 5.5 MediumEPSS 0.2% (higher than 16% of CVEs)Published 2023-06-14Updated 2026-02-25Assigner: Google

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.

CWE-552

What to do

Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
6Fix pending
6Will not fix
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04guava-librariesNot affected
vulnerable_code_not_present
Ubuntu 25.10guava-librariesNot affected
vulnerable_code_not_present
Ubuntu 24.04guava-librariesNot affected
vulnerable_code_not_present
Ubuntu 22.04guava-librariesFix pendingUBUNTU-CVE-2023-2976
Ubuntu 20.04guava-librariesFix pendingUBUNTU-CVE-2023-2976
Ubuntu 18.04guava-librariesFix pendingUBUNTU-CVE-2023-2976
Ubuntu 16.04guava-librariesFix pendingUBUNTU-CVE-2023-2976
Ubuntu 14.04guava-librariesFix pendingUBUNTU-CVE-2023-2976
Debian 14guava-librariesFixed32.0.1-1DEBIAN-CVE-2023-2976
Debian 13guava-librariesFixed32.0.1-1DEBIAN-CVE-2023-2976
Debian 12guava-librariesFix pendingDEBIAN-CVE-2023-2976
Red Hat Enterprise Linux 9guavaWill not fix
Will not fix
Red Hat Enterprise Linux 8guavaWill not fix
Will not fix
Red Hat Enterprise Linux 8guava-javadocWill not fix
Will not fix
Red Hat Enterprise Linux 8guava-testlibWill not fix
Will not fix
Red Hat Enterprise Linux 7guavaWill not fix
Out of support scope
Red Hat Enterprise Linux 7guava-javadocWill not fix
Out of support scope
Maven librarycom.google.guava:guavaFixed32.0.0-androidGHSA-7g45-4rm6-3mm3

What the vendor says

As published in the CVE record by Google, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.