CVE-2025-6490
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2025-6490
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2025-6490.html
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | bookworm | fixed | 0 |
| debian | bullseye | fixed | 0 |
| debian | forky | fixed | 0 |
| debian | sid | fixed | 0 |
| debian | trixie | fixed | 0 |
References
- https://github.com/sparklemotion/nokogiri/commit/ada4708e5a67114402cd3feb70a4e1d1d7cf773a
- https://github.com/sparklemotion/nokogiri/issues/3500
- https://github.com/sparklemotion/nokogiri/pull/3524
- https://github.com/user-attachments/files/19625432/nokogiri_crash.txt
- https://vuldb.com/?ctiid.313601
- https://vuldb.com/?id.313601
- https://vuldb.com/?submit.601005
- https://www.suse.com/security/cve/CVE-2025-6490.html
- https://security-tracker.debian.org/tracker/CVE-2025-6490
CWEs
CWE-119 CWE-122
Verify integrity in audit chain (admin only). AS-IS.