🛡️ GHSA-pf9w-gvcf-gv7m — nokogiri (CVE-2025-6490)

🟢 CVSS 2.0 — Low ✅ No Known Exploit CWE-119 OSV
2.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

sparklemotion nokogiri hashmap.c hashmap_set_with_hash heap-based overflow

Withdrawn Advisory

This advisory has been withdrawn because the affected code was never included in a release. This link has been maintained to preserve external references.

Original 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.

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. Rated impact: confidentiality none, integrity none, availability low.

Weakness class

GHSA-pf9w-gvcf-gv7m is classified as CWE-119: Improper Restriction of Operations within Memory Buffer Bounds. A read or write is performed without confirming it stays inside the allocated buffer, corrupting adjacent memory.

Affected software

GHSA-pf9w-gvcf-gv7m is recorded against 1 package.

  • nokogiri

Timeline and source

Published on 22 June 2025 and last revised on 30 June 2025. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

nvd.nist.gov (Advisory)
github.com (Web)
github.com (Web)
github.com (Web)
github.com (Package)
github.com (Web)
vuldb.com (Web)
vuldb.com (Web)
vuldb.com (Web)

Details

Severity LOW
CVSS Score 2.0
CVSS 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
CWE CWE-119
Public Exploit ✅ No
Source OSV
Published 2025-06-22
Updated 2026-08-20
Modified 2025-06-30
Fix URL N/A

Affected Packages

Software From version Fixed in
nokogiri

Similar Threats

Free Vulnerability Check

Is your site affected by GHSA-pf9w-gvcf-gv7m?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against GHSA-pf9w-gvcf-gv7m and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesGitHub AdvisoryGitHub Advisory Undated