python: stringobject, unicodeobject integer overflows
Published Nov 10, 2008
10.0
HIGHCVSS 2.0
EPSS 2.99%
Description
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.
Affected products
No data.
No data.
Red Hat Enterprise Linux 3
python-0:2.2.3-6.11
Fixed · RHSA-2009:1178
Red Hat Enterprise Linux 4
python-0:2.3.4-14.7.el4_8.2
Fixed · RHSA-2009:1177
Red Hat Enterprise Linux 5
python-0:2.4.3-24.el5_3.6
Fixed · RHSA-2009:1176
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 3 | python-0:2.2.3-6.11 | Fixed | RHSA-2009:1178 |
| Red Hat Enterprise Linux 4 | python-0:2.3.4-14.7.el4_8.2 | Fixed | RHSA-2009:1177 |
| Red Hat Enterprise Linux 5 | python-0:2.4.3-24.el5_3.6 | Fixed | RHSA-2009:1176 |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
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:N/AC:L/Au:N/C:C/I:C/A:C
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 1, 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 (11 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.99% (0.02988) | 86.84th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.76% (0.02758) | 84.28th | v5 (v2026.06.15) |
| Mar 30, 2025 | 3.03% (0.03028) | 85.43th | v4 (v2025.03.14) |
| Mar 29, 2025 | 9.64% (0.09643) | 88.06th | v4 (v2025.03.14) |
| Mar 17, 2025 | 3.03% (0.03028) | 85.73th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.48% (0.01482) | 87.33th | v3 (v2023.03.01) |
| Apr 16, 2024 | 1.17% (0.01165) | 84.73th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.17% (0.01165) | 82.71th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.69% (0.02686) | 62.66th | v2 (v2022.01.01) |
References (22)
- http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html vendor-advisoryx_refsource_APPLE
- http://scary.beasts.org/security/CESA-2008-008.html x_refsource_MISC
- http://secunia.com/advisories/33937 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/35750 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://secunia.com/advisories/37471 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://security.gentoo.org/glsa/glsa-200907-16.xml vendor-advisoryx_refsource_GENTOO
- http://support.apple.com/kb/HT3438 x_refsource_CONFIRM
- http://svn.python.org/view/python/trunk/Objects/stringobject.c?rev=61350&view=diff&r1=61350&r2=61349&p1=python/trunk/Objects/stringobject.c&p2=/python/trunk/Objects/stringobject.c x_refsource_CONFIRM
- http://svn.python.org/view/python/trunk/Objects/unicodeobject.c?rev=61350&view=diff&r1=61350&r2=61349&p1=python/trunk/Objects/unicodeobject.c&p2=/python/trunk/Objects/unicodeobject.c x_refsource_CONFIRM
- http://svn.python.org/view?rev=61350&view=rev x_refsource_CONFIRM
- http://www.openwall.com/lists/oss-security/2008/11/05/2 mailing-listx_refsource_MLIST
- http://www.openwall.com/lists/oss-security/2008/11/05/3 mailing-listx_refsource_MLIST
- http://www.securityfocus.com/archive/1/507985/100/0/threaded mailing-listx_refsource_BUGTRAQ
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html x_refsource_CONFIRM
- http://www.vupen.com/english/advisories/2009/3316 vdb-entryx_refsource_VUPENVendor Advisory
- https://access.redhat.com/security/cve/CVE-2008-5031 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=470915 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/46612 vdb-entryx_refsource_XF
- https://nvd.nist.gov/vuln/detail/CVE-2008-5031
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11280 vdb-entrysignaturex_refsource_OVAL
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8564 vdb-entrysignaturex_refsource_OVAL
- https://www.cve.org/CVERecord?id=CVE-2008-5031
Change history (0)
No recorded changes yet.