
CVE catalog
CVE-2025-71176
pytest: CVE-2025-71176
- Severity
- Medium · CVSS 6.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.15% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | pytest | sid | 9.1.1-1 | vulnerable |
| Debian | pytest | forky | 9.1.1-1 | vulnerable |
| Debian | pytest | trixie | 8.3.5-2 | vulnerable |
| Debian | pytest | bookworm | 7.2.1-2 | vulnerable |
| PyPI | pytest | Not reported | 9.0.3 | fixed |
| Opensuse | python-pytest | tumbleweed | 9.0.3-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | pytest | source | sid | (unfixed) | unimportant | Not reported | Not reported |
| Debian | pytest | source | forky | (unfixed) | unimportant | Not reported | Not reported |
| Debian | pytest | source | trixie | (unfixed) | unimportant | Not reported | Not reported |
| Debian | pytest | source | bookworm | (unfixed) | unimportant | Not reported | Not reported |
| PyPI | pytest | PyPI | Not reported | 9.0.3 | Not reported | GHSA-6W46-J5RX-G56G | Not reported |
| Opensuse | python-pytest | rpm | tumbleweed | 9.0.3-1.1 | Not reported | OPENSUSE-SU-2026:10666-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-pytest]Affected
Source package: [pytest]
Details (2)
7.2.1-2· all · bookwormAffected
dsa · pytest · debian · bookworm; dsa · pytest · debian · 12
7.2.1-2· all · bookwormAffected
dsa · pytest · debian · bookworm; dsa · pytest · debian · 12
- [python-pytest-doc]Affected
Source package: [pytest]
Details (2)
7.2.1-2· all · bookwormAffected
dsa · pytest · debian · bookworm; dsa · pytest · debian · 12
7.2.1-2· all · bookwormAffected
dsa · pytest · debian · bookworm; dsa · pytest · debian · 12
[Debian 13 (Trixie)]
- [python3-pytest]Affected
Source package: [pytest]
Details (4)
8.3.5-2· all · trixieAffected
dsa · pytest · debian · 13
8.3.5-2· all · trixieAffected
dsa · pytest · debian · 13
9.1.1-1~bpo13+1· all · trixie-backportsAffected
dsa · pytest · debian · 13
9.1.1-1~bpo13+1· all · trixie-backportsAffected
dsa · pytest · debian · 13
- [python3-pytest-subtests]Affected
Source package: [pytest]
Details (2)
0.15.0++9.1.1-1~bpo13+1· all · trixie-backportsAffected
dsa · pytest · debian · 13
0.15.0++9.1.1-1~bpo13+1· all · trixie-backportsAffected
dsa · pytest · debian · 13
- [python-pytest-doc]Affected
Source package: [pytest]
Details (4)
8.3.5-2· all · trixieAffected
dsa · pytest · debian · 13
8.3.5-2· all · trixieAffected
dsa · pytest · debian · 13
9.1.1-1~bpo13+1· all · trixie-backportsAffected
dsa · pytest · debian · 13
9.1.1-1~bpo13+1· all · trixie-backportsAffected
dsa · pytest · debian · 13
[openSUSE Tumbleweed]
- [python313-pytest]Unknown
Source package: [python-pytest]
Details (1)
9.0.3-1.2· noarch · tumbleweedUnknown · Fixed:
9.0.3-1.1Version impact unknown
dsa · python-pytest · opensuse · tumbleweed
- [python314-pytest]Unknown
Source package: [python-pytest]
Details (1)
9.0.3-1.2· noarch · tumbleweedUnknown · Fixed:
9.0.3-1.1Version impact unknown
dsa · python-pytest · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-71176]
- [https://osv.dev/vulnerability/GHSA-6w46-j5rx-g56g]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:10666-1]
- [https://security-tracker.debian.org/tracker/CVE-2025-71176]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-71176.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]