sparklemotion nokogiri hashmap.c hashmap_get_with_hash heap-based overflow

CVE Details

Basic Information

Title sparklemotion nokogiri hashmap.c hashmap_get_with_hash heap-based overflow
Type cve
Published 2025-06-22T22:31:05.760Z
Last Seen

Product Information

Vendor sparklemotion
Product nokogiri
Version 1.18.0

CVSS Information

Base Score 4.8 (MEDIUM)
Attack Vector CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
Confidentiality Impact
Integrity Impact
Availability Impact

AI Analysis

AI Description A heap-based buffer overflow vulnerability in the hashmap_get_with_hash function of nokogiri versions up to 1.18.7. This can be exploited locally to cause a buffer overflow, potentially leading to arbitrary code execution or application crashes. The issue arises due to improper handling of input, which can be manipulated by an attacker.
AI Severity Medium
Vendor sparklemotion
Product nokogiri
Affected Version 1.18.0, 1.18.1, 1.18.2, 1.18.3, 1.18.4, 1.18.5, 1.18.6, 1.18.7

Affected Products

  • sparklemotion nokogiri 1.18.0
  • sparklemotion nokogiri 1.18.1
  • sparklemotion nokogiri 1.18.2
  • sparklemotion nokogiri 1.18.3
  • sparklemotion nokogiri 1.18.4
  • sparklemotion nokogiri 1.18.5
  • sparklemotion nokogiri 1.18.6
  • sparklemotion nokogiri 1.18.7

Additional Information

CVE List
CWE List CWE-122, CWE-119
Bulletin Family

Description

A vulnerability was found in sparklemotion nokogiri up to 1.18.7. It has been classified as problematic. This affects the function hashmap_get_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.

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.