UBUNTU-CVE-2025-71176

Source
https://ubuntu.com/security/CVE-2025-71176
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71176.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-71176
Upstream
Published
2026-01-22T05:16:00Z
Modified
2026-05-20T16:23:55.249880161Z
Severity
  • 6.8 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L CVSS Calculator
  • Ubuntu - medium
Summary
[none]
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.

References

Affected packages

Ubuntu:16.04:LTS
pytest

Package

Name
pytest
Purl
pkg:deb/ubuntu/pytest?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.7.2-2
2.7.3-1
2.8.7-4

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.8.7-4",
            "binary_name": "python-pytest"
        },
        {
            "binary_name": "python3-pytest",
            "binary_version": "2.8.7-4"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71176.json"
Ubuntu:18.04:LTS
pytest

Package

Name
pytest
Purl
pkg:deb/ubuntu/pytest?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*
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": "3.3.2-2"
        },
        {
            "binary_name": "python-pytest",
            "binary_version": "3.3.2-2"
        },
        {
            "binary_name": "python3-pytest",
            "binary_version": "3.3.2-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71176.json"
Ubuntu:20.04:LTS
pytest

Package

Name
pytest
Purl
pkg:deb/ubuntu/pytest?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.10.1-2
4.*
4.6.6-1ubuntu4
4.6.8-1ubuntu1
4.6.9-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "4.6.9-1",
            "binary_name": "pypy-pytest"
        },
        {
            "binary_version": "4.6.9-1",
            "binary_name": "python-pytest"
        },
        {
            "binary_name": "python3-pytest",
            "binary_version": "4.6.9-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71176.json"
Ubuntu:22.04:LTS
pytest

Package

Name
pytest
Purl
pkg:deb/ubuntu/pytest?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

6.*
6.0.2-2ubuntu1
6.2.5-1ubuntu1
6.2.5-1ubuntu2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "6.2.5-1ubuntu2",
            "binary_name": "python3-pytest"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71176.json"
Ubuntu:24.04:LTS
pytest

Package

Name
pytest
Purl
pkg:deb/ubuntu/pytest?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

7.*
7.4.0-2
7.4.3-1
7.4.3-2
7.4.4-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "7.4.4-1",
            "binary_name": "python3-pytest"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71176.json"
Ubuntu:25.10
pytest

Package

Name
pytest
Purl
pkg:deb/ubuntu/pytest?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

8.*
8.3.5-1
8.3.5-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-pytest",
            "binary_version": "8.3.5-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71176.json"
Ubuntu:26.04:LTS
pytest

Package

Name
pytest
Purl
pkg:deb/ubuntu/pytest?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

8.*
8.3.5-2
8.4.2-1
9.*
9.0.2-2
9.0.2-4

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"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-71176.json"