Home / Jruby / Jruby / CVE-2012-5370
CVE-2012-5370: is it exploited, and which versions of Jruby are affected and fixed?
CVE-2012-5370 is a denial of service (uncontrolled resource consumption) vulnerability in Jruby. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 06:38 UTC). Affected: org.jruby:jruby-parent before 1.7.1 (GitHub advisory GHSA-fmmq-j7pq-f85c). Fixed in 1.7.1 (GitHub advisory GHSA-fmmq-j7pq-f85c). Severity: Medium (5.0, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:48 UTC.
What is CVE-2012-5370?
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.
From the CVE record by mitre, last updated August 6, 2024, 21:05 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.jruby:jruby-parent | < 1.7.1 | 1.7.1 | GHSA-fmmq-j7pq-f85c |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 29, 2023. Summary: JRuby denial of service via Hash Collision.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| jruby | jruby | all versions | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:46 UTC.
How severe is CVE-2012-5370?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2012-5370 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.25% probability of exploitation activity in the next 30 days, percentile 83.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://bugzilla.redhat.com/show_bug.cgi?id=880671 x_refsource_CONFIRM
- http://asfws12.files.wordpress.com/2012/11/asfws2012-jean_philippe_aumasson-martin_bosslet-hash_flooding_dos_reloaded.pdf x_refsource_MISC
- https://www.131002.net/data/talks/appsec12_slides.pdf x_refsource_MISC
- http://2012.appsec-forum.ch/conferences/#c17 x_refsource_MISC
- http://www.ocert.org/advisories/ocert-2012-001.html x_refsource_MISC
- RHSA-2013:0533 vendor-advisory, x_refsource_REDHAT
When was it published, and where is the official record?
- Reserved
- October 10, 2012
- Published
- November 28, 2012, 11:00 UTC
- CVE record updated
- August 6, 2024, 21:05 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 23:46 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:48 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Jruby?
- Nov 23, 2012CVE-2010-1330 Jruby: cross-site scripting (XSS)
- Dec 30, 2011CVE-2011-4838 Jruby: denial of service (uncontrolled resource consumption)
Questions about CVE-2012-5370
Is CVE-2012-5370 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:38 UTC. FIRST's EPSS gives it a 2.25% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Jruby are affected by CVE-2012-5370?
org.jruby:jruby-parent before 1.7.1, per the GitHub advisory GHSA-fmmq-j7pq-f85c. The tables above give every range the sources list.
Which version fixes CVE-2012-5370?
1.7.1, per the GitHub advisory GHSA-fmmq-j7pq-f85c. Check the vendor's advisory before you rely on it.
How severe is CVE-2012-5370?
Medium (5.0, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2012-5370?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.