3.7

CVE-2006-1542: python

Modified
Published 30-03-2006Last modified 07-08-2024

Vulnerability summary

CVE-2006-1542 is a low (CVSS 3.7) vulnerability in python. EPSS estimates a 0.91% chance of exploitation in the next 30 days, higher than 59.9% of scored vulnerabilities. 2 public exploits are recorded.

Priority
Prioritiseweaponized exploit

Weaponized exploit (exploit-database, 18-03-2006)

Source freshness unavailable

How is this decided?
CVSS score
3.7/10
010
Low · v2.0 (NVD)
EPSS score
0.91%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits2reference, exploit-database

Advisory lineage

Upstream 0 · Downstream 3

Timeline

  1. 30-03-2006
    PublishedVulnerability first disclosed.
  2. 07-08-2024
    Last modifiedVulnerability information updated.

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 metrics

1 score · 1 source · 1 version

EPSS trend

Probability

0.91%

Chance of exploitation in the next 30 days

Percentile

60%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.91% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

2 found
  • referenceUnverified

    Exploit Reference (gotfault.net)

    Maturity: unknown

  • exploit-databaselocallinuxVerified

    Python 2.4.2 - 'realpath()' Local Stack Overflow

    Maturity: weaponized

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, no authentication (CVSS vector). Other conditions: not stated in public data.

Python1 product

1 vendor · 1 product

References

4 links