Input validation error in Python - CVE-2010-1634

 

Input validation error in Python - CVE-2010-1634

Published: February 13, 2023 / Updated: June 3, 2025


Vulnerability identifier: #VU110152
CSH Severity: Medium
CVSS v4: []
CVE-ID: CVE-2010-1634
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows context-dependent attackers to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input. A remote attacker can cause a denial of service (application crash) via a large fragment, as demonstrated by a call to audioop.lin2lin with a long string in the first argument, leading to a buffer overflow.


Affected software

Python
Gentoo Linux
Fedora
Ubuntu
python2.5 (Ubuntu package)
python2.5-minimal (Ubuntu package)
python2.6-minimal (Ubuntu package)
python2.6 (Ubuntu package)
python3.1 (Ubuntu package)
python3.1-minimal (Ubuntu package)
python26
dev-lang/python

How to mitigate CVE-2010-1634

Install update from vendor's website.

Python - update to 2.6 rc2
python2.5 (Ubuntu package) - update to 2.5.2-2ubuntu6.2
python2.5-minimal (Ubuntu package) - update to 2.5.2-2ubuntu6.2
python2.6-minimal (Ubuntu package) - addressed in versions 2.6.5-1ubuntu6.1, 2.6.6-6ubuntu7.1, 2.6.7-4ubuntu1.1
python2.6 (Ubuntu package) - addressed in versions 2.6.5-1ubuntu6.1, 2.6.6-6ubuntu7.1, 2.6.7-4ubuntu1.1
python3.1 (Ubuntu package) - addressed in versions 3.1.2-0ubuntu3.2, 3.1.3-1ubuntu1.2
python3.1-minimal (Ubuntu package) - addressed in versions 3.1.2-0ubuntu3.2, 3.1.3-1ubuntu1.2
python26 - update to 2.6.5-5.el5
dev-lang/python - update to 3.3.2-r1

External References

Related Security Bulletins