cve.bz

CVE-2008-5983 Untrusted Search Path

no score yetEPSS 0.5%

No CVSS score yet. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
Untrusted search path vulnerability in the PySys_SetArgv API function in Python 2.6 and earlier, and possibly later versions, prepends an empty string to sys.path when the argv[0] argument does not contain a path separator, which might allow local users to execute arbitrary code via a Trojan horse Python file in the current working directory.
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-426 Untrusted Search Path
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2008-5983 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2008-5983?via=ask-ai-copy and https://cve.bz/cve/CVE-2008-5983?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2008-5983 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
python:pythonbefore 2.6.6
python:pythonfrom 3.1.0 before 3.1.3
fedoraproject:fedora13
canonical:ubuntu_linux8.04
canonical:ubuntu_linux10.04
canonical:ubuntu_linux11.04
canonical:ubuntu_linux11.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatenterprise_linux:5::clientpython, tkinter, python-libs and 2 more0:2.4.3-43.el5RHSA-2011:0027
Red Hatenterprise_linux:5::client_workstationpython, python-devel, python-debuginfo0:2.4.3-43.el5RHSA-2011:0027
Red Hatenterprise_linux:5::serverpython, tkinter, python-libs and 3 more0:2.4.3-43.el5RHSA-2011:0027
Azure Linux3python-pyno fix listedAZL-109584

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5python-0:2.4.3-43.el5Fixed 2011-01-13RHSA-2011:0027

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2008-5983.

Attack patterns (CAPEC)

  • CAPEC-38 Leveraging/Manipulating Configuration File Search Paths Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON