CVE Catalog

CVE-2025-6490

LowCVSS 3.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.19%

9th percentile - higher than 9% of all known CVEs

Summary

In the nokogiri library (sparklemotion), the function hashmap_set_with_hash in gumbo-parser/src/hashmap.c contains a heap-based buffer overflow. It requires local access, and the exploit has been publicly disclosed, though the real existence of the vulnerability is still doubted. The patch was merged into the main branch but never appeared in an official release.

Risk Assessment

A local attacker could exploit the heap-based buffer overflow, potentially causing a crash or code execution if the vulnerability is real.

Recommendation

Apply the patch (commit ada4708e5a67114402cd3feb70a4e1d1d7cf773a) or monitor official nokogiri releases for an update.

Other vulnerabilities in nokogiri

See all
Original NVD description (English source)

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 data from NVD (NIST) · CISA KEV · EPSS