Every CVE Search/ Get API key

CVE-2012-5370

JRuby denial of service via Hash Collision

5.0 MediumFix available

JRuby computes hash values without properly 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, as demonstrated by a universal multicollision attack against the MurmurHash2 algorithm, a different vulnerability than CVE-2011-4838.

Exploit likelihood

2.25%Up 1.1 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 5.0

JRuby computes hash values without properly 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, as demonstrated by a universal multicollision attack against the MurmurHash2 algorithm, a different vulnerability than CVE-2011-4838.

Record
CVE-2012-5370
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-310
Updated
2026-11-02
CVE List No score

JRuby computes hash values without properly 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, as demonstrated by a universal multicollision attack against the MurmurHash2 algorithm, a different vulnerability than CVE-2011-4838.

Record
CVE-2012-5370
Updated
2026-11-02
EUVDEUVD-2022-3805 No score

JRuby computes hash values without properly 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, as demonstrated by a universal multicollision attack against the MurmurHash2 algorithm, a different vulnerability than CVE-2011-4838.

Record
EUVD-2022-3805
Updated
2026-11-03
GitHub AdvisoriesGHSA-fmmq-j7pq-f85c No score

JRuby denial of service via Hash Collision

JRuby computes hash values without properly 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, as demonstrated by a universal multicollision attack against the MurmurHash2 algorithm, a different vulnerability than CVE-2011-4838.

Record
GHSA-fmmq-j7pq-f85c
Weakness
CWE-400
Updated
2026-11-02
OSV No score

JRuby computes hash values without properly 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, as demonstrated by a universal multicollision attack against the MurmurHash2 algorithm, a different vulnerability than CVE-2011-4838.

Record
CVE-2012-5370
Updated
2026-11-02
OSVDEBIAN-CVE-2012-5370 No score

JRuby computes hash values without properly 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, as demonstrated by a universal multicollision attack against the MurmurHash2 algorithm, a different vulnerability than CVE-2011-4838.

Record
DEBIAN-CVE-2012-5370
Updated
2026-11-02
OSVGHSA-fmmq-j7pq-f85c No score

JRuby denial of service via Hash Collision

JRuby computes hash values without properly 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, as demonstrated by a universal multicollision attack against the MurmurHash2 algorithm, a different vulnerability than CVE-2011-4838.

Record
GHSA-fmmq-j7pq-f85c
Weakness
CWE-400
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.jruby:jruby-parent
Maven
before 1.7.1
1.7.1
jruby
Debian:12
before 1.5.6-5
1.5.6-5
jruby
Debian:13
before 1.5.6-5
1.5.6-5
jruby
Debian:14
before 1.5.6-5
1.5.6-5
jruby
Debian:6.0
before 1.5.1-1+deb6u1, plus listed versions
1.3.1-21.4.0-11.4.0-21.5.0~rc1-11.5.0~rc3-11.5.1-1
1.5.1-1+deb6u1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2012-5370 is a medium vulnerability (CVSS 5.0) in Jruby, published November 28, 2012. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.25%, the 82nd percentile. Fixed in org.jruby:jruby-parent 1.7.1.

References

Show 5 moreShow less
MoveEnter Open