---
title: "CVE-2026-12003"
canonical_url: "https://pkgseek.com/security/CVE-2026-12003"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2026-12003

To allow builds of Python to be run from an in-tree layout (rather than an installed file layout), the VPATH variable is defined at build time and used to locate certain landmarks - specifically, Modules/setup.local. When this landmark is found relative to VPATH relative to the executable, Python assumes it is running in a source tree and generates a different default sys.path. This code remains in release builds, so that release-ready builds can be built in-tree.  On Windows, since builds are written to 'PCbuild/', the value of VPATH is set to '..\\..', which results in a landmark of '..\\..\\Mo…

CVE-2026-12003 is rated MEDIUM, with 18 indexed affected package builds across 1 distributions.

- **Severity / Score**: MEDIUM
- **Affected builds**: 18
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | idle-python3.13 | 3.13.5-2+deb13u5 | — |
| Debian | trixie | libpython3.13 | 3.13.5-2+deb13u5 | — |
| Debian | trixie | libpython3.13-dbg | 3.13.5-2+deb13u5 | — |
| Debian | trixie | libpython3.13-dev | 3.13.5-2+deb13u5 | — |
| Debian | trixie | libpython3.13-minimal | 3.13.5-2+deb13u5 | — |
| Debian | trixie | libpython3.13-stdlib | 3.13.5-2+deb13u5 | — |
| Debian | trixie | libpython3.13-testsuite | 3.13.5-2+deb13u5 | — |
| Debian | trixie | python3.13 | 3.13.5-2+deb13u5 | — |
| Debian | trixie | python3.13-dbg | 3.13.5-2+deb13u5 | — |
| Debian | trixie | python3.13-dev | 3.13.5-2+deb13u5 | — |
| Debian | trixie | python3.13-doc | 3.13.5-2+deb13u5 | — |
| Debian | trixie | python3.13-examples | 3.13.5-2+deb13u5 | — |
| Debian | trixie | python3.13-full | 3.13.5-2+deb13u5 | — |
| Debian | trixie | python3.13-gdbm | 3.13.5-2+deb13u5 | — |
| Debian | trixie | python3.13-minimal | 3.13.5-2+deb13u5 | — |
| Debian | trixie | python3.13-nopie | 3.13.5-2+deb13u5 | — |
| Debian | trixie | python3.13-tk | 3.13.5-2+deb13u5 | — |
| Debian | trixie | python3.13-venv | 3.13.5-2+deb13u5 | — |
