Stack-based buffer overflow in Python 2.4.2 and earlier, running on Linux 2.6.12.5 under…
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:python:python:*:*:*:*:*:*:*:* | up to 2.4.2 | Vulnerable | python-pillow |
- cpe:2.3:a:python:python:*:*:*:*:*:*:*:* Versions up to 2.4.2 Vulnerable ·python-pillow
Remediation
Red Hat 3 advisories
- RHSA-2008:0629 Released 2008-08-13 · Red Hat rating ModerateRed Hat Network Satellite Server Solaris client security update
- Red Hat Satellite 5.1 (RHEL v.4 AS) rhn-solaris-bootstrap-5.1.1-3, rhn_solaris_bootstrap_5_1_1_3-1-0
- RHSA-2008:0525 Released 2008-06-30 · Red Hat rating ModerateRed Hat Network Satellite Server Solaris client security update
- Red Hat Satellite v 4.2 (RHEL v.3 AS) rhn-solaris-bootstrap-5.0.2-3, rhn_solaris_bootstrap_5_0_2_3-1-0
- Red Hat Satellite v 4.2 (RHEL v.4 AS) rhn-solaris-bootstrap-5.0.2-3, rhn_solaris_bootstrap_5_0_2_3-1-0
- RHSA-2008:0264 Released 2008-05-20 · Red Hat rating ModerateRed Hat Network Satellite Server Solaris client security update
- Red Hat Satellite 5.0 (RHEL v.4 AS) rhn-solaris-bootstrap-5.0.2-3, rhn_solaris_bootstrap_5_0_2_3-1-0
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Satellite 5.0 (RHEL v.4 AS) | Fixed | RHSA-2008:0264 |
| Red Hat Satellite 5.1 (RHEL v.4 AS) | Fixed | RHSA-2008:0629 |
| Red Hat Satellite v 4.2 (RHEL v.3 AS) | Fixed | RHSA-2008:0525 |
| Red Hat Satellite v 4.2 (RHEL v.4 AS) | Fixed | RHSA-2008:0525 |
Timeline
- 2026-10-02 Threatist record created from CVE-2006-1542
- 2026-10-03 Alias added: GHSA-75w6-c37p-69v3
References
Advisory 1
More python-pillow Python vulnerabilities
- TI-2016-01993 The DES and Triple DES ciphers, as used in the TLS, SSH, and IPSec protocols and other… CVSS 3.1HIGH 7.5
- TI-2022-24108 An XML External Entity (XXE) issue was discovered in Python through 3.9.1. CVSS 3.1CRITICAL 9.8
- TI-2022-17508 The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and… CVSS 3.1CRITICAL 9.8
- TI-2021-02254 Python 3.x through 3.9.1 has a buffer overflow in PyCArg_repr in _ctypes/callproc.c… CVSS 3.1CRITICAL 9.8
- TI-2007-04413 Directory traversal vulnerability in the (1) extract and (2) extractall functions in the… CVSS 3.1CRITICAL 9.8
- TI-2014-00217 OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly… CVSS 3.1HIGH 7.4
Sources
- CVE-2006-1542 · CVE Program
- CVE-2006-1542 · NVD
- FIRST EPSS
- GHSA-75w6-c37p-69v3 · GitHub Advisory Database · CC BY 4.0
- CVE-2006-1542 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences