| Name | CVE-2025-71176 |
| Description | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| pytest (PTS) | bullseye | 6.0.2-2 | vulnerable |
| bookworm | 7.2.1-2 | vulnerable |
| trixie | 8.3.5-2 | vulnerable |
| forky, sid | 9.0.2-2 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| pytest | source | (unstable) | (unfixed) | unimportant | | |
Notes
https://github.com/pytest-dev/pytest/issues/13669
https://www.openwall.com/lists/oss-security/2026/01/21/5
Neutralised by kernel hardening (fs.protected_symlinks = 1)