Heap-Based Buffer Overflow in Sparklemotion Nokogiri
CVE-2025-6494
Key Information:
- Vendor
Sparklemotion
- Status
- Vendor
- CVE Published:
- 22 June 2025
Badges
What is CVE-2025-6494?
A significant vulnerability exists in Sparklemotion's Nokogiri library, specifically affecting the function hashmap_get_with_hash
located in the file gumbo-parser/src/hashmap.c
. This flaw allows for a heap-based buffer overflow, which can be exploited through local means. Given that the exploit has been disclosed publicly, it represents a potential risk to affected systems, particularly those running Nokogiri versions up to 1.18.7. Users and administrators are urged to assess their installations for this vulnerability and take appropriate measures.
Affected Version(s)
nokogiri 1.18.0
nokogiri 1.18.1
nokogiri 1.18.2
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V4
Timeline
- 🟡
Public PoC available
- 👾
Exploit known to exist
Vulnerability published
Vulnerability Reserved