#VU110162 Input validation error in Python - CVE-2008-2316


| Updated: 2025-06-03

Vulnerability identifier: #VU110162

Vulnerability risk: Medium

CVSSv4.0: 2.7 [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/E:U/U:Green]

CVE-ID: CVE-2008-2316

CWE-ID: CWE-20

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Python
Universal components / Libraries / Scripting languages

Vendor: Python.org

Description

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

Integer overflow in _hashopenssl.c in the hashlib module in Python 2.5.2 and earlier might allow context-dependent attackers to defeat cryptographic digests, related to "partial hashlib hashing of data exceeding 4GB."

Mitigation
Install update from vendor's website.

Vulnerable software versions

Python: 2.5, 2.5 _ - 2.5.2c1, 2.5a0, 2.5_final, 2.5c1, 2.5c2, 2.5a1, 2.5a2, 2.5b1, 2.5b2


External links
https://bugs.gentoo.org/attachment.cgi?id=159422&action=view
https://bugs.gentoo.org/show_bug.cgi?id=230640
https://security.gentoo.org/glsa/glsa-200807-16.xml
https://secunia.com/advisories/31332
https://www.ubuntu.com/usn/usn-632-1
https://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.525289
https://secunia.com/advisories/31365
https://secunia.com/advisories/31305
https://www.mandriva.com/security/advisories?name=MDVSA-2008:163
https://secunia.com/advisories/31518
https://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html
https://secunia.com/advisories/31358
https://www.novell.com/support/search.do?cmd=displayKC&docType=kc&externalId=InfoDocument-patchbuilder-readme5032900
https://wiki.rpath.com/Advisories:rPSA-2008-0243
https://www.securityfocus.com/bid/30491
https://secunia.com/advisories/31687
https://secunia.com/advisories/31473
https://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html
https://secunia.com/advisories/33937
https://support.apple.com/kb/HT3438
https://www.vupen.com/english/advisories/2008/2288
https://exchange.xforce.ibmcloud.com/vulnerabilities/44174
https://exchange.xforce.ibmcloud.com/vulnerabilities/44173
https://www.securityfocus.com/archive/1/495445/100/0/threaded


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability