ubuntu-cve-2025-71176
Vulnerability from osv_ubuntu
Published
2026-01-22 05:16
Modified
2026-05-20 15:24
Summary
Details
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.
Severity
6.8 (Medium)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-pytest",
"binary_version": "2.8.7-4"
},
{
"binary_name": "python3-pytest",
"binary_version": "2.8.7-4"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "pytest",
"purl": "pkg:deb/ubuntu/pytest@2.8.7-4?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.7.2-2",
"2.7.3-1",
"2.8.7-4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "pypy-pytest",
"binary_version": "3.3.2-2"
},
{
"binary_name": "python-pytest",
"binary_version": "3.3.2-2"
},
{
"binary_name": "python3-pytest",
"binary_version": "3.3.2-2"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "pytest",
"purl": "pkg:deb/ubuntu/pytest@3.3.2-2?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.1.3-1ubuntu1",
"3.2.1-2",
"3.2.5-1",
"3.2.5-2",
"3.2.5-2ubuntu1",
"3.3.2-2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "pypy-pytest",
"binary_version": "4.6.9-1"
},
{
"binary_name": "python-pytest",
"binary_version": "4.6.9-1"
},
{
"binary_name": "python3-pytest",
"binary_version": "4.6.9-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "pytest",
"purl": "pkg:deb/ubuntu/pytest@4.6.9-1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.10.1-2",
"4.6.6-1ubuntu4",
"4.6.8-1ubuntu1",
"4.6.9-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-pytest",
"binary_version": "6.2.5-1ubuntu2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "pytest",
"purl": "pkg:deb/ubuntu/pytest@6.2.5-1ubuntu2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"6.0.2-2ubuntu1",
"6.2.5-1ubuntu1",
"6.2.5-1ubuntu2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-pytest",
"binary_version": "7.4.4-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "pytest",
"purl": "pkg:deb/ubuntu/pytest@7.4.4-1?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"7.4.0-2",
"7.4.3-1",
"7.4.3-2",
"7.4.4-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-pytest",
"binary_version": "8.3.5-2"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "pytest",
"purl": "pkg:deb/ubuntu/pytest@8.3.5-2?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"8.3.5-1",
"8.3.5-2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-pytest",
"binary_version": "9.0.2-4"
},
{
"binary_name": "python3-pytest-subtests",
"binary_version": "0.15.0++9.0.2-4"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "pytest",
"purl": "pkg:deb/ubuntu/pytest@9.0.2-4?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"8.3.5-2",
"8.4.2-1",
"9.0.2-2",
"9.0.2-4"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2025-71176",
"modified": "2026-05-20T15:24:11Z",
"published": "2026-01-22T05:16:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2025-71176"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2025-71176"
},
{
"type": "REPORT",
"url": "https://github.com/pytest-dev/pytest/issues/13669"
},
{
"type": "REPORT",
"url": "https://www.openwall.com/lists/oss-security/2026/01/21/5"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2025-71176"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…