CVEfocus › CVE database › CVE-2025-71176

CVE-2025-71176

CVSS 6.8 MediumEPSS 0.2% (higher than 5% of CVEs)Published 2026-01-22Updated 2026-01-22Assigner: mitre

pytest through 9.0.2 on UNIX relies on directories with the /tmp/pytest-of-{user} name pattern, which allows local users to cause a denial of service or possibly gain privileges.

CWE-379

What to do

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

Red Hat, 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

1Fixed
15Fix pending
4Will not fix

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.10pytestFix pendingUBUNTU-CVE-2025-71176
Ubuntu 26.04pytestFix pendingUBUNTU-CVE-2025-71176
Ubuntu 25.10pytestWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-71176
Ubuntu 24.04pytestFix pendingUBUNTU-CVE-2025-71176
Ubuntu 22.04pytestFix pendingUBUNTU-CVE-2025-71176
Ubuntu 20.04pytestFix pendingUBUNTU-CVE-2025-71176
Ubuntu 18.04pytestFix pendingUBUNTU-CVE-2025-71176
Ubuntu 16.04pytestFix pendingUBUNTU-CVE-2025-71176
Debian 14pytestWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2025-71176
Debian 13pytestWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2025-71176
Debian 12pytestWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2025-71176
Red Hat Enterprise Linux 10python3-pytestFix pending
Fix deferred
Red Hat Enterprise Linux 9python3-pytestFix pending
Fix deferred
Red Hat Enterprise Linux 9python3.12-pytestFix pending
Fix deferred
Red Hat Enterprise Linux 8pytestFix pending
Fix deferred
Red Hat Enterprise Linux 8python2-pytestFix pending
Fix deferred
Red Hat Enterprise Linux 8python38-pytestFix pending
Fix deferred
Red Hat Enterprise Linux 8python39-pytestFix pending
Fix deferred
Red Hat Enterprise Linux 7pytestFix pending
Fix deferred
PyPI librarypytestFixed9.0.3PYSEC-2026-1845

What the vendor says

As published in the CVE record by mitre, 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.