We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-6494

sparklemotion nokogiri hashmap.c hashmap_get_with_hash heap-based overflow



Description

EN DE

A vulnerability was found in sparklemotion nokogiri c29c920907366cb74af13b4dc2230e9c9e23b833. 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. The real existence of this vulnerability is still doubted at the moment. The patch is named 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.

Es wurde eine Schwachstelle in sparklemotion nokogiri c29c920907366cb74af13b4dc2230e9c9e23b833 ausgemacht. Sie wurde als problematisch eingestuft. Hiervon betroffen ist die Funktion hashmap_get_with_hash der Datei gumbo-parser/src/hashmap.c. Dank Manipulation mit unbekannten Daten kann eine heap-based buffer overflow-Schwachstelle ausgenutzt werden. Der Angriff muss lokal erfolgen. Der Exploit steht zur öffentlichen Verfügung. Die wahre Existenz der vermeintlichen Schwachstelle wird zur Zeit in Frage gestellt. Der Patch wird als ada4708e5a67114402cd3feb70a4e1d1d7cf773a bezeichnet. Als bestmögliche Massnahme wird Patching empfohlen.

Reserved 2025-06-22 | Published 2025-06-22 | Updated 2025-06-30 | Assigner VulDB


MEDIUM: 4.8CVSS: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
LOW: 3.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C
LOW: 3.3CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C
1.7AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:C

Problem types

Heap-based Buffer Overflow

Memory Corruption

Product status

c29c920907366cb74af13b4dc2230e9c9e23b833
affected

Timeline

2025-06-22:Advisory disclosed
2025-06-22:VulDB entry created
2025-06-30:VulDB entry last update

Credits

JJLeo (VulDB User) reporter

References

vuldb.com/?id.313611 (VDB-313611 | sparklemotion nokogiri hashmap.c hashmap_get_with_hash heap-based overflow) vdb-entry technical-description

vuldb.com/?ctiid.313611 (VDB-313611 | CTI Indicators (IOB, IOC, IOA)) signature permissions-required

vuldb.com/?submit.601006 (Submit #601006 | sparklemotion nokogiri nokogiri v1.18.7 (commit a024cff) Heap-based Buffer Overflow) third-party-advisory

github.com/sparklemotion/nokogiri/issues/3508 issue-tracking

github.com/sparklemotion/nokogiri/pull/3524 issue-tracking

github.com/...ttachments/files/19825279/nokogiri_crash_2.txt exploit

github.com/...ommit/ada4708e5a67114402cd3feb70a4e1d1d7cf773a patch

cve.org (CVE-2025-6494)

nvd.nist.gov (CVE-2025-6494)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-6494

Support options

Helpdesk Chat, Email, Knowledgebase