{"id":"CVE-2008-5031","aliases":["EUVD-2008-5010","GHSA-crr2-q8mf-w298","PSF-2008-10","RHSA-2009:1176","RHSA-2009:1177","RHSA-2009:1178"],"status":"published","title":"Multiple integer overflows in Python 2.2.3 through 2.5.1, and 2.6, allow context-dependent...","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.","severity":{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.02988,"percentile":0.8739,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-189"],"published":"2008-11-10T16:00:00Z","modified":"2026-06-26T12:19:09Z","affected":[{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.4.3-24.el5_3.6"}]}],"bundled":10},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"python-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.4.3-24.el5_3.6"}]}],"bundled":10},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"python-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.4.3-24.el5_3.6"}]}],"bundled":10},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.4.3-24.el5_3.6"}]}],"bundled":10},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"python-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.4.3-24.el5_3.6"}]}],"bundled":10},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"python-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.4.3-24.el5_3.6"}]}],"bundled":10},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"tkinter","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.4.3-24.el5_3.6"}]}],"bundled":10},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.4.3-24.el5_3.6"}]}],"bundled":10},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"python-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.4.3-24.el5_3.6"}]}],"bundled":10},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"python-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.4.3-24.el5_3.6"}]}],"bundled":10},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"python-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.4.3-24.el5_3.6"}]}],"bundled":10},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"tkinter","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.4.3-24.el5_3.6"}]}],"bundled":10},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.3.4-14.7.el4_8.2"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"python-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.3.4-14.7.el4_8.2"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"python-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.3.4-14.7.el4_8.2"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"python-docs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.3.4-14.7.el4_8.2"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"python-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.3.4-14.7.el4_8.2"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"tkinter","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.3.4-14.7.el4_8.2"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.3.4-14.7.el4_8.2"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"python-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.3.4-14.7.el4_8.2"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"python-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.3.4-14.7.el4_8.2"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"python-docs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.3.4-14.7.el4_8.2"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"python-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.3.4-14.7.el4_8.2"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"tkinter","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.3.4-14.7.el4_8.2"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.3.4-14.7.el4_8.2"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"python-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.3.4-14.7.el4_8.2"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"python-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.3.4-14.7.el4_8.2"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"python-docs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.3.4-14.7.el4_8.2"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"python-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.3.4-14.7.el4_8.2"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"tkinter","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.3.4-14.7.el4_8.2"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.3.4-14.7.el4_8.2"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"python-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.3.4-14.7.el4_8.2"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"python-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.3.4-14.7.el4_8.2"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"python-docs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.3.4-14.7.el4_8.2"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"python-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.3.4-14.7.el4_8.2"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"tkinter","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.3.4-14.7.el4_8.2"}]}],"bundled":9},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.2.3-6.11"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"python-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.2.3-6.11"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"python-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.2.3-6.11"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"python-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.2.3-6.11"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"tkinter","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.2.3-6.11"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.2.3-6.11"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"python-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.2.3-6.11"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"python-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.2.3-6.11"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"python-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.2.3-6.11"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"tkinter","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.2.3-6.11"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.2.3-6.11"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"python-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.2.3-6.11"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"python-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.2.3-6.11"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"python-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.2.3-6.11"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"tkinter","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.2.3-6.11"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.2.3-6.11"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"python-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.2.3-6.11"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"python-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.2.3-6.11"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"python-tools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.2.3-6.11"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"tkinter","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.2.3-6.11"}]}],"bundled":8}],"products":[{"vendor":"python","product":"python"}],"references":[{"url":"http://svn.python.org/view/python/trunk/Objects/unicodeobject.c?rev=61350\u0026view=diff\u0026r1=61350\u0026r2=61349\u0026p1=python/trunk/Objects/unicodeobject.c\u0026p2=/python/trunk/Objects/unicodeobject.c","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://security.gentoo.org/glsa/glsa-200907-16.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://secunia.com/advisories/33937","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://scary.beasts.org/security/CESA-2008-008.html","tags":["x_refsource_MISC","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/37471","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2008/11/05/3","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2008/11/05/2","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.vmware.com/security/advisories/VMSA-2009-0016.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://support.apple.com/kb/HT3438","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://svn.python.org/view?rev=61350\u0026view=rev","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/507985/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/46612","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8564","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"http://secunia.com/advisories/35750","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11280","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"]},{"url":"http://svn.python.org/view/python/trunk/Objects/stringobject.c?rev=61350\u0026view=diff\u0026r1=61350\u0026r2=61349\u0026p1=python/trunk/Objects/stringobject.c\u0026p2=/python/trunk/Objects/stringobject.c","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2009/3316","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-5031","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-crr2-q8mf-w298"},{"url":"https://access.redhat.com/errata/RHSA-2009:1176","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=235093","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=295971","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=442005","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=443810","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=454990","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=455008","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=455013","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=455018","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=469656","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=470915","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2009/rhsa-2009_1176.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-2052","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-2052","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-2052","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-4965","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-4965","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-4965","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-1721","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-1721","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-1721","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-1887","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-1887","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-1887","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-2315","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-2315","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-2315","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-3142","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-3142","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-3142","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-3143","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-3143","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-3143","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-3144","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-3144","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-3144","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-4864","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-4864","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-4864","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-5031","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-5031","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2009:1177","tags":["advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=441306","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2009/rhsa-2009_1177.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-1679","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-1679","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-1679","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2009:1178","tags":["advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2009/rhsa-2009_1178.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2008-5031","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.","status":"published","published":"2008-11-10T16:00:00Z","modified":"2024-08-07T10:40:17.351Z","updated_at":"2026-11-02T14:34:43.943588Z"}],"euvd":[{"id":"EUVD-2008-5010","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.","status":"published","published":"2008-11-10T16:00:00Z","modified":"2024-08-07T10:40:17Z","updated_at":"2026-11-03T01:38:44.942911Z"}],"ghsa":[{"id":"GHSA-crr2-q8mf-w298","title":"Multiple integer overflows in Python 2.2.3 through 2.5.1, and 2.6, allow context-dependent...","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.","status":"published","published":"2022-05-13T01:31:01Z","modified":"2023-02-01T05:08:17Z","updated_at":"2026-11-02T14:50:43.431885Z"}],"nvd":[{"id":"CVE-2008-5031","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.","status":"published","published":"2008-11-10T16:15:12.14Z","modified":"2026-06-16T22:59:06.993Z","cvss":[{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-189"],"updated_at":"2026-11-02T14:01:29.702694Z"}],"osv":[{"id":"PSF-2008-10","title":"expandtab() integer overflow","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.","status":"published","published":"2008-11-10T16:00:00Z","modified":"2025-10-09T01:06:00.192776Z","updated_at":"2026-11-02T15:52:50.263679Z"},{"id":"RHSA-2009:1176","title":"Red Hat Security Advisory: python security update","status":"published","published":"2024-09-15T17:44:38Z","modified":"2026-06-26T12:19:09.393100063Z","updated_at":"2026-11-02T15:53:00.468834Z"},{"id":"RHSA-2009:1177","title":"Red Hat Security Advisory: python security update","status":"published","published":"2024-09-15T17:44:43Z","modified":"2026-06-26T10:11:40Z","updated_at":"2026-11-02T15:53:00.468834Z"},{"id":"RHSA-2009:1178","title":"Red Hat Security Advisory: python security update","status":"published","published":"2024-09-15T17:44:47Z","modified":"2026-06-26T10:11:41Z","updated_at":"2026-11-02T15:53:00.468834Z"}]}}
