Servers and applications
CVE-2006-1542
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…
- Severity
- Low 3.7
- Published
- 30 Mar 2006
- Last changed
- 16 Jun 2026
- Added to UpHeron
- 21 Oct 2026
- Exploit chance
- 0.9% in the next 30 daysHigher than 60% of CVEs. EPSS by FIRST, 12 Nov 2026
- Attack
- Needs local access · Only under certain conditions · No login needed
- Attacker can
- Read some data · Change some data · Slow it down
- CVSS vector
AV:L/AC:H/Au:N/C:P/I:P/A:P- Sources
- NVD
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.
Affected software
| Software | Affected versions |
|---|---|
PythonServers and applications · cpe:a:python:python |
|