CVE-2022-24839: Uncontrolled Resource Consumption in org.cyberneko.html (nokogiri fork)
Vulnerability summary
CVE-2022-24839 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in nekohtml_project nekohtml. EPSS estimates a 2.17% chance of exploitation in the next 30 days, higher than 82.2% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 5Timeline
- 11-04-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
org.cyberneko.html is an html parser written in Java. The fork of `org.cyberneko.html` used by Nokogiri (Rubygem) raises a `java.lang.OutOfMemoryError` exception when parsing ill-formed HTML markup. Users are advised to upgrade to `>= 1.9.22.noko2`. Note: The upstream library `org.cyberneko.html` is no longer maintained. Nokogiri uses its own fork of this library located at https://github.com/sparklemotion/nekohtml and this CVE applies only to that fork. Other forks of nekohtml may have a similar vulnerability.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · MavenEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
2.17%
Chance of exploitation in the next 30 days
Percentile
82%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 2.15% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- nekohtml< 1.9.22.noko2-0.1
Nekohtml_project1 product
- nekohtml< 1.9.22.noko2
Oracle1 product
- weblogic_server12.2.1.3.0 | 12.2.1.4.0 | 14.1.1.0.0
Org.nokogiri1 product
- nekohtml< 1.9.22.noko2
Sparklemotion1 product
- nekohtml< 1.9.22.noko2
Ubuntu1 product
- nekohtmlAll versions (No fix recorded)
6 vendors · 6 products
References
8 links- github.com/sparklemotion/nekohtml/security/advisories/GHSA-9849-p7jc-9rmvX Refsource CONFIRMREPORTWEBVendor Advisory
- github.com/sparklemotion/nekohtml/commit/a800fce3b079def130ed42a408ff1d09f89e773dX Refsource MISCREPORTWEBPatch