Heap-Based Buffer Overflow in Sparklemotion Nokogiri for Enhanced Security
CVE-2025-6490
Key Information:
- Vendor
Sparklemotion
- Status
- Vendor
- CVE Published:
- 22 June 2025
Badges
What is CVE-2025-6490?
A vulnerability in the Sparklemotion Nokogiri library, specifically in the function hashmap_set_with_hash found in the file gumbo-parser/src/hashmap.c, can lead to a heap-based buffer overflow. This vulnerability allows an attacker to manipulate memory allocation, resulting in potential exploitation. Local access is required for an attack, which poses risks if attackers gain access to the affected systems. The issue has been publicly disclosed, heightening the importance of immediate awareness and mitigation for users of the affected versions.
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