CVE-2006-1542 Details
Description
Stack-based buffer overflow in Python 2.4.2 and earlier, running on Linux 2.6.12.5 under gcc 4.0.3 with libc 2.3.5, allows local users to cause a "stack overflow," and possibly gain privileges, by running a script from a current working directory that has a long name, related to the realpath function. NOTE: this might not be a vulnerability. However, the fact that it appears in a programming language interpreter could mean that some applications are affected, although attack scenarios might be limited because the attacker might already need to cross privilege boundaries to cause an exploitable program to be placed in a directory with a long name; or, depending on the method that Python uses to determine the current working directory, setuid applications might be affected.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No CVSS 3.x data is available for this CVE.
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://secunia.com/advisories/31492 | CVE | Broken Link |
| https://www.exploit-db.com/exploits/1591 | CVE | Third Party AdvisoryVDB Entry |
| http://www.gotfault.net/research/exploit/gexp-python.py | CVE | Exploit |
| http://www.redhat.com/support/errata/RHSA-2008-0629.html | CVE | Third Party Advisory |
| http://secunia.com/advisories/31492 | [email protected] | Broken Link |
| https://www.exploit-db.com/exploits/1591 | [email protected] | Third Party AdvisoryVDB Entry |
| http://www.gotfault.net/research/exploit/gexp-python.py | [email protected] | Exploit |
| http://www.redhat.com/support/errata/RHSA-2008-0629.html | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-Other | Weakness Not in a Standard CWE Category | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| python python | <= 2.4.2 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 16, 2026 | CVE Modified | [email protected] |
| Apr 16, 2026 | [email protected] | |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Aug 2, 2023 | Modified Analysis | [email protected] |
| Oct 19, 2017 | CVE Modified | [email protected] |
| Mar 31, 2006 | Initial Analysis | [email protected] |