Input validation error in Python - CVE-2006-4980

 

Input validation error in Python - CVE-2006-4980

Published: August 2, 2023 / Updated: June 3, 2025


Vulnerability identifier: #VU110169
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2006-4980
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

Buffer overflow in the repr function in Python 2.3 through 2.6 before 20060822 allows context-dependent attackers to cause a denial of service and possibly execute arbitrary code via crafted wide character UTF-32/UCS-4 strings to certain scripts.


Affected software

Python
Gentoo Linux
dev-lang/python

How to mitigate CVE-2006-4980

Install update from vendor's website.

dev-lang/python - update to 2.4.3-r4

External References

Related Security Bulletins