cve.bz

CVE-2008-3142 Classic Buffer Overflow

no score yetExploit referenceEPSS 4.5%

No CVSS score yet. EPSS 4.5% estimated probability of exploitation activity in the next 30 days.

On this page
Multiple buffer overflows in Python 2.5.2 and earlier on 32bit platforms allow context-dependent attackers to cause a denial of service (crash) or have unspecified other impact via a long string that leads to incorrect memory allocation during Unicode string processing, related to the unicode_resize function and the PyMem_RESIZE macro.
EPSS
4.5% (unchanged from 4.5% a week ago; 4.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2008-3142 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2008-3142?via=ask-ai-copy and https://cve.bz/cve/CVE-2008-3142?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2008-3142 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
python:pythonbefore 2.4.6
python:pythonfrom 2.5.0 before 2.5.3
canonical:ubuntu_linux6.06
canonical:ubuntu_linux7.04
canonical:ubuntu_linux7.10
canonical:ubuntu_linux8.04
debian:debian_linux4.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian4.0python2.42.4.4-3+etch2DSA-1667-1
Debian5.0python2.52.5.2-6+lenny1DTSA-157-1
Red Hatenterprise_linux:3::as, enterprise_linux:3::desktop, enterprise_linux:3::es and 1 morepython, tkinter, python-devel and 2 more0:2.2.3-6.11RHSA-2009:1178
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 morepython, tkinter, python-docs and 3 more0:2.3.4-14.7.el4_8.2RHSA-2009:1177
Red Hatenterprise_linux:5::clientpython, tkinter, python-tools and 1 more0:2.4.3-24.el5_3.6RHSA-2009:1176
Red Hatenterprise_linux:5::client_workstationpython, python-devel, python-debuginfo0:2.4.3-24.el5_3.6RHSA-2009:1176
Red Hatenterprise_linux:5::serverpython, tkinter, python-devel and 2 more0:2.4.3-24.el5_3.6RHSA-2009:1176
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Desktop Applications 15 and 2 morepython2.7.17-7.32.2SUSE-SU-2020:0234-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Python 2 15 SP1python-base2.7.17-7.32.1SUSE-SU-2020:0234-1
openSUSETumbleweedpython2.7.18-8.1openSUSE-SU-2024:11202-1
Azure Linux3python-pyno fix listedAZL-109572

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 3python-0:2.2.3-6.11Fixed 2009-07-27RHSA-2009:1178
Red Hat Enterprise Linux 4python-0:2.3.4-14.7.el4_8.2Fixed 2009-07-27RHSA-2009:1177
Red Hat Enterprise Linux 5python-0:2.4.3-24.el5_3.6Fixed 2009-07-27RHSA-2009:1176

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2008-3142.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON