{"cve":"CVE-2006-1542","nvd":{"published":"2006-03-30T11:02:00.000","modified":"2026-06-16T22:23:10.030","status":"Modified","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.","cvss_v4":null,"cvss_v3":null,"cwes":[],"references":["http://secunia.com/advisories/31492","http://www.gotfault.net/research/exploit/gexp-python.py","http://www.redhat.com/support/errata/RHSA-2008-0629.html","https://www.exploit-db.com/exploits/1591","http://secunia.com/advisories/31492"],"products":["python:python"],"source":"nvd","synced_at":"2026-10-19T19:42:01.759833969+00:00"},"epss":{"cve":"CVE-2006-1542","score":0.00908,"percentile":0.59939,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}