Buffer overflow in Sparklemotion Nokogiri
CVE-2025-6490
A vulnerability was found in sparklemotion nokogiri c29c920907366cb74af13b4dc2230e9c9e23b833 and classified as problematic. This issue affects the function hashmap_set_with_hash of the file gumbo-parser/src/hashmap.c. The manipulation leads to heap-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed to the public and may be used. The real existence of this vulnerability is still doubted at the moment. The identifier of the patch is ada4708e5a67114402cd3feb70a4e1d1d7cf773a. It is recommended to apply a patch to fix this issue. The project maintainer explains that the affected code was merged into the main branch but the commit never appeared in an official release.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS: 0.002 (7.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 7th percentile — 7.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: +0.000
Affected products
- Sparklemotion Nokogiri — versions c29c920907366cb74af13b4dc2230e9c9e23b833
Weakness classification (CWE)
References
- vuldb.com/ (technical-description, vdb-entry)
- vuldb.com/ (signature, permissions-required)
- vuldb.com/ (third-party-advisory)
- github.com/sparklemotion/nokogiri/issues/3500 (issue-tracking)
- github.com/sparklemotion/nokogiri/pull/3524 (issue-tracking)
- github.com/user-attachments/files/19625432/nokogiri_crash.txt (exploit)
- github.com/sparklemotion/nokogiri/commit/ada4708e5a67114402cd3feb70a4e1d1d7cf77… (patch)
Frequently asked questions
- What is CVE-2025-6490?
- CVE-2025-6490 is a low-severity vulnerability in Sparklemotion Nokogiri, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 3.3/10. Published 2025-06-22.
- How severe is CVE-2025-6490?
- Low severity. CVSS v3 base score is 3.3 out of 10.