CVEMETERBack to radar
OFFICIAL RECORD · Python

CVE-2025-6075

PUBLISHEDOfficial status check: verifiedCVSS 4.0: 1.8 · low

Quadratic complexity in os.path.expandvars() with user-controlled template

If the value passed to os.path.expandvars() is user-controlled a performance degradation is possible when expanding environment variables.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.149% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T18:36:01.564Z. Public exploit availability is not used to set this status.

CVSS 4.0 · 1.8 · published by [email protected]
CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Assessment source · checked 2026-11-19T12:40:37.493Z

CVSS 4.0 · 1.8 · published by PSF
CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:57:42.012Z

CVSS 4.0 · 1.8 · published by Ubuntu Security
CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T16:49:50.556Z

CVSS 3.1 · 5.5 · published by [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T12:40:37.493Z

CVSS 3.1 · 5.5 · published by Ubuntu Security
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T16:49:50.556Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T18:36:01.564ZCISA KEV
cvssverified2026-11-19T12:40:37.493ZNVD
epssverified2026-11-19T18:27:12.749ZFIRST EPSS
patchesverified2026-11-19T16:57:02.699ZUbuntu Security
affectedverified2026-11-19T12:57:42.012ZCVE Program
lifecycleverified2026-11-19T12:57:42.012ZCVE Program

Affected versions and configuration

Python Software Foundation CPython; default status: unaffected: 0 to < 3.9.25 [affected; scheme: python]; 3.10.0 to < 3.10.20 [affected; scheme: python]; 3.11.0 to < 3.11.15 [affected; scheme: python]; 3.12.0 to < 3.12.13 [affected; scheme: python]; 3.13.0 to < 3.13.10 [affected; scheme: python]; 3.14.0 to < 3.14.1 [affected; scheme: python]; 3.15.0a1 to < 3.15.0a2 [affected; scheme: python]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

Ubuntu Security · ubuntu-package · full conditions
[
  {
    "name": "python3.12",
    "debian": "https://tracker.debian.org/pkg/python3.12",
    "source": "https://ubuntu.com/security/cve?package=python3.12",
    "ubuntu": "https://packages.ubuntu.com/search?suite=all&section=all&arch=any&searchon=sourcenames&keywords=python3.12",
    "statuses": [
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "jammy"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "plucky"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "questing"
      },
      {
        "pocket": "security",
        "status": "needs-triage",
        "component": null,
        "description": "",
        "release_codename": "upstream"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "3.12.3-1ubuntu0.9",
        "release_codename": "noble"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "resolute"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "stonking"
      }
    ]
  }
]
Archived source JSON
Ubuntu Security · ubuntu-package · full conditions
[
  {
    "name": "python3.10",
    "debian": "https://tracker.debian.org/pkg/python3.10",
    "source": "https://ubuntu.com/security/cve?package=python3.10",
    "ubuntu": "https://packages.ubuntu.com/search?suite=all&section=all&arch=any&searchon=sourcenames&keywords=python3.10",
    "statuses": [
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "noble"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "plucky"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "questing"
      },
      {
        "pocket": "security",
        "status": "needs-triage",
        "component": null,
        "description": "",
        "release_codename": "upstream"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "3.10.12-1~22.04.12",
        "release_codename": "jammy"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "resolute"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "stonking"
      }
    ]
  }
]
Archived source JSON
Ubuntu Security · ubuntu-package · full conditions
[
  {
    "name": "python3.11",
    "debian": "https://tracker.debian.org/pkg/python3.11",
    "source": "https://ubuntu.com/security/cve?package=python3.11",
    "ubuntu": "https://packages.ubuntu.com/search?suite=all&section=all&arch=any&searchon=sourcenames&keywords=python3.11",
    "statuses": [
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "noble"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "plucky"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "questing"
      },
      {
        "pocket": "security",
        "status": "needs-triage",
        "component": null,
        "description": "",
        "release_codename": "upstream"
      },
      {
        "pocket": "esm-apps",
        "status": "released",
        "component": null,
        "description": "3.11.0~rc1-1~22.04.1~esm6",
        "release_codename": "jammy"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "resolute"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "stonking"
      }
    ]
  }
]
Archived source JSON
Ubuntu Security · ubuntu-package · full conditions
[
  {
    "name": "python3.13",
    "debian": "https://tracker.debian.org/pkg/python3.13",
    "source": "https://ubuntu.com/security/cve?package=python3.13",
    "ubuntu": "https://packages.ubuntu.com/search?suite=all&section=all&arch=any&searchon=sourcenames&keywords=python3.13",
    "statuses": [
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "jammy"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "noble"
      },
      {
        "pocket": "security",
        "status": "ignored",
        "component": null,
        "description": "end of life, was needs-triage",
        "release_codename": "plucky"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "3.13.11-1",
        "release_codename": "upstream"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "3.13.7-1ubuntu0.1",
        "release_codename": "questing"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "resolute"
      },
      {
        "pocket": "security",
        "status": "DNE",
        "component": null,
        "description": "",
        "release_codename": "stonking"
      }
    ]
  }
]
Archived source JSON
CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "repo": "https://github.com/python/cpython",
      "vendor": "Python Software Foundation",
      "product": "CPython",
      "versions": [
        {
          "status": "affected",
          "version": "0",
          "lessThan": "3.9.25",
          "versionType": "python"
        },
        {
          "status": "affected",
          "version": "3.10.0",
          "lessThan": "3.10.20",
          "versionType": "python"
        },
        {
          "status": "affected",
          "version": "3.11.0",
          "lessThan": "3.11.15",
          "versionType": "python"
        },
        {
          "status": "affected",
          "version": "3.12.0",
          "lessThan": "3.12.13",
          "versionType": "python"
        },
        {
          "status": "affected",
          "version": "3.13.0",
          "lessThan": "3.13.10",
          "versionType": "python"
        },
        {
          "status": "affected",
          "version": "3.14.0",
          "lessThan": "3.14.1",
          "versionType": "python"
        },
        {
          "status": "affected",
          "version": "3.15.0a1",
          "lessThan": "3.15.0a2",
          "versionType": "python"
        }
      ],
      "defaultStatus": "unaffected"
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2025-6075",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2025-10-31T17:54:46.289107Z"
            }
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "type": "CWE",
              "cweId": "CWE-400",
              "description": "CWE-400 Uncontrolled Resource Consumption"
            }
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2025-10-31T17:55:40.240Z"
      }
    }
  ]
}
Archived source JSON
NVD · nvd-cpe · full conditions
[
  {
    "nodes": [
      {
        "negate": false,
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "6E6A50B5-4D36-483E-9326-8D824E197D27",
            "versionEndExcluding": "3.9.0"
          },
          {
            "criteria": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "16490D75-8319-4FF4-8DB1-94F1722DC561",
            "versionEndExcluding": "3.13.11",
            "versionStartIncluding": "3.13.1"
          },
          {
            "criteria": "cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "6E66BA7A-987F-4E24-8B69-4F46D6FCD19E",
            "versionEndExcluding": "3.14.1",
            "versionStartIncluding": "3.14.0"
          },
          {
            "criteria": "cpe:2.3:a:python:python:3.15.0:alpha1:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "A3327507-0B1D-4F28-A983-D07A2C8A7696"
          }
        ],
        "operator": "OR"
      }
    ]
  }
]
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
distribution-packageUbuntu / noblepython3.12security3.12.3-1ubuntu0.9Official record
distribution-packageUbuntu / jammypython3.10security3.10.12-1~22.04.12Official record
distribution-packageUbuntu / jammypython3.11esm-apps3.11.0~rc1-1~22.04.1~esm6Official record
upstream-releaseupstream / upstreampython3.13Not a distribution channel3.13.11-1Official record
distribution-packageUbuntu / questingpython3.13security3.13.7-1ubuntu0.1Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history