python buffer overflow
Published Mar 30, 2006
3.7
LOWCVSS 2.0
EPSS 0.91%
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 products
No data.
No data.
Red Hat Network Satellite Server v 4.2
rhn-solaris-bootstrap-0:5.0.2-3
Fixed · RHSA-2008:0525
Red Hat Network Satellite Server v 4.2
rhn_solaris_bootstrap_5_0_2_3-0:1-0
Fixed · RHSA-2008:0525
Red Hat Network Satellite Server v 4.2 (RHEL3)
rhn-solaris-bootstrap-0:5.0.2-3
Fixed · RHSA-2008:0525
Red Hat Network Satellite Server v 4.2 (RHEL3)
rhn_solaris_bootstrap_5_0_2_3-0:1-0
Fixed · RHSA-2008:0525
Red Hat Network Satellite Server v 5.0
rhn-solaris-bootstrap-0:5.0.2-3
Fixed · RHSA-2008:0264
Red Hat Network Satellite Server v 5.0
rhn_solaris_bootstrap_5_0_2_3-0:1-0
Fixed · RHSA-2008:0264
Red Hat Network Satellite Server v 5.1
rhn-solaris-bootstrap-0:5.1.1-3
Fixed · RHSA-2008:0629
Red Hat Network Satellite Server v 5.1
rhn_solaris_bootstrap_5_1_1_3-0:1-0
Fixed · RHSA-2008:0629
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Network Satellite Server v 4.2 | rhn-solaris-bootstrap-0:5.0.2-3 | Fixed | RHSA-2008:0525 |
| Red Hat Network Satellite Server v 4.2 | rhn_solaris_bootstrap_5_0_2_3-0:1-0 | Fixed | RHSA-2008:0525 |
| Red Hat Network Satellite Server v 4.2 (RHEL3) | rhn-solaris-bootstrap-0:5.0.2-3 | Fixed | RHSA-2008:0525 |
| Red Hat Network Satellite Server v 4.2 (RHEL3) | rhn_solaris_bootstrap_5_0_2_3-0:1-0 | Fixed | RHSA-2008:0525 |
| Red Hat Network Satellite Server v 5.0 | rhn-solaris-bootstrap-0:5.0.2-3 | Fixed | RHSA-2008:0264 |
| Red Hat Network Satellite Server v 5.0 | rhn_solaris_bootstrap_5_0_2_3-0:1-0 | Fixed | RHSA-2008:0264 |
| Red Hat Network Satellite Server v 5.1 | rhn-solaris-bootstrap-0:5.1.1-3 | Fixed | RHSA-2008:0629 |
| Red Hat Network Satellite Server v 5.1 | rhn_solaris_bootstrap_5_1_1_3-0:1-0 | Fixed | RHSA-2008:0629 |
No package ranges for this CVE.
Remediation
Red Hat statement
The Red Hat Product Security has rated this issue as having low security impact, a future update may address this flaw. More information regarding issue severity can be found here: https://access.redhat.com/security/updates/classification/ Red Hat Enterprise Linux 5 is not vulnerable to this issue as it contains a backported patch.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:L/AC:H/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (9 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 0.91% (0.00908) | 58.56th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.95% (0.00947) | 56.37th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.23% (0.00233) | 44.15th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00042) | 0.34th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00042) | 0.50th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.76% (0.01761) | 76.53th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.76% (0.01761) | 76.48th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.76% (0.01761) | 74.44th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.76% (0.01761) | 53.69th | v2 (v2022.01.01) |
No CWE recorded.
References (8)
- http://secunia.com/advisories/31492 third-party-advisoryx_refsource_SECUNIABroken Link
- http://www.gotfault.net/research/exploit/gexp-python.py x_refsource_MISCExploit
- http://www.redhat.com/support/errata/RHSA-2008-0629.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2006-1542 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=430640 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2006-1542
- https://www.cve.org/CVERecord?id=CVE-2006-1542
- https://www.exploit-db.com/exploits/1591 exploitx_refsource_EXPLOIT-DBThird Party AdvisoryVDB Entry
| Link | Providers | Tags |
|---|---|---|
| http://secunia.com/advisories/31492 | third-party-advisoryx_refsource_SECUNIABroken Link | |
| http://www.gotfault.net/research/exploit/gexp-python.py | x_refsource_MISCExploit | |
| http://www.redhat.com/support/errata/RHSA-2008-0629.html | vendor-advisoryx_refsource_REDHATThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2006-1542 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=430640 | Issue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2006-1542 | ||
| https://www.cve.org/CVERecord?id=CVE-2006-1542 | ||
| https://www.exploit-db.com/exploits/1591 | exploitx_refsource_EXPLOIT-DBThird Party AdvisoryVDB Entry |
Change history (0)
No recorded changes yet.