CVE-2008-5031Python
Critical 10.0 No auth needed
Follow: this CVE · Python · Python We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 2.0
- 10.0
- EPSS
- 3.0% probability of exploitation in 30 days · percentile 88
- Auth required
- No
- Published
- Nov 10, 2008
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-189
- Vector
AV:N/AC:L/Au:N/C:C/I:C/A:C
What happens
Multiple integer overflows in Python 2.2.3 through 2.5.1, and 2.6, allow context-dependent attackers to have an unknown impact via a large integer value in the tabsize argument to the expandtabs method, as implemented by (1) the string_expandtabs function in Objects/stringobject.c and (2) the unicode_expandtabs function in Objects/unicodeobject.c. NOTE: this vulnerability reportedly exists because of an incomplete fix for CVE-2008-2315.
What to do
- Apply the vendor's security update for Python.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| python | python | 2.2.3 |
| python | python | 2.3.7 |
| python | python | 2.4.6 |
| python | python | 2.5.1 |
Official sources
References
Links published by the sources. Open them with care.
- lists.apple.com
- scary.beasts.org
- secunia.com Vendor Advisory
- secunia.com Vendor Advisory
- secunia.com Vendor Advisory
- security.gentoo.org
- support.apple.com
- svn.python.org
- svn.python.org
- svn.python.org
- www.openwall.com
- www.openwall.com
- www.securityfocus.com
- www.vmware.com
- www.vupen.com Vendor Advisory
- exchange.xforce.ibmcloud.com
- oval.cisecurity.org
- oval.cisecurity.org