CVE-2006-1542

Python <2.4.2 - Buffer Overflow

Title source: llm
STIX 2.1

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.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Gotfault Security · pythonlocallinux
https://www.exploit-db.com/exploits/1591

References (4)

Core 4
Core References
Broken Link third-party-advisory x_refsource_secunia
http://secunia.com/advisories/31492
Third Party Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2008-0629.html
Third Party Advisory, VDB Entry exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/1591

Scores

EPSS 0.0021
EPSS Percentile 42.4%

Details

Status published
Products (1)
python/python < 2.4.2
Published Mar 30, 2006
Tracked Since Feb 18, 2026