Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft HTML with long duplicate attributes
-
DeliveryProvide file to Nokogiri parser
-
ExploitTrigger hashmap_get_with_hash
-
ExecutionHeap buffer overflow
-
ImpactDenial of service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V14 - Configuration Dependency management, component inventory
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Local access is required (AV:L). The attacker must have low privileges (PR:L) and be able to provide a crafted HTML file to a Nokogiri application that parses HTML5 content. The vulnerability is triggered when parsing HTML with long duplicate attributes (names longer than 8 bytes) that exercise the gumbo hashmap implementation. No user interaction is needed (UI:N). The attack is limited to denial of service; no confidentiality or integrity impact. |
| Impact | CVSS 4.0 vector AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L gives a base score of 1.9, indicating low severity due to local access required, low privileges, and only availability impact. EPSS score is 0.02% (very low exploitation probability). No CISA KEV listing. Public exploit code exists but the vulnerability is doubted by some. The real-world risk is low because exploitation requires local access and low privileges, and the impact is limited to denial of service. The high CVSS score from some sources (e.g., 9.8) is not supported by the actual vector; the assessed vector is consistent with the description. |
| Exploit ScenarioDerived | A local attacker with low privileges can craft an HTML file containing many long duplicate attributes (e.g., 100 attributes with names longer than 8 bytes) and cause Nokogiri to parse it, triggering a heap-based buffer overflow in the gumbo hashmap. This results in a denial of service (crash). Public exploit code is available, making the attack straightforward. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Jul 26, 2026
Heap-based buffer overflow in Nokogiri's gumbo HTML5 parser allows local attackers to cause a denial of service via crafted HTML with long duplicate attributes. The vulnerability affects versions 1.18.0 through 1.18.7 and is fixed in commit ada4708e5a67114402cd3feb70a4e1d1d7cf773a, though no official release includes the patch. Public exploit code exists, but active exploitation is not confirmed (not in CISA KEV). EPSS score is low (0.02%), indicating low exploitation likelihood.
Earlier versions of this analysis (1)
RemediationAI
Apply the patch commit ada4708e5a67114402cd3feb70a4e1d1d7cf773a to the source code, or wait for an official release that includes the fix. As a workaround, avoid parsing untrusted HTML5 content with Nokogiri versions 1.18.0-1.18.7. If possible, downgrade to an earlier unaffected version or use an alternative parser. The patch is available at https://github.com/sparklemotion/nokogiri/commit/ada4708e5a67114402cd3feb70a4e1d1d7cf773a.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in the gumbo-parser library used by Nokogiri for HTML5 parsing. The function hashmap_get_with_hash in gumbo-parser/src/hashmap.c mishandles pointer dereferencing when comparing string keys, leading to a heap-based buffer overflow (CWE-119). The root cause is incorrect use of strcmp with direct pointers instead of double indirection, as shown in the patch diff. The affected code was introduced in a development branch and never part of an official release, but it exists in the main branch and is used in Nokogiri versions 1.18.0-1.18.7.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Local attack, low complexity, low privileges, no user interaction, only availability impact.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
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.
Executive ViewAI
CVE-2025-6494 is a low-severity vulnerability in A vulnerability (CVSS 3.3). The limited severity suggests constrained impact, typically requiring specific conditions or local access for exploitation. Apply vendor updates when available as part of routine maintenance.
Apply vendor patch during routine maintenance. Standard security controls provide adequate interim protection.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Same weakness CWE-119 – Buffer Overflow
View allSame technique Buffer Overflow
View allVendor StatusVendor
Ubuntu
Priority: Medium| Release | Status | Version |
|---|---|---|
| bionic | not-affected | code not present |
| focal | not-affected | code not present |
| jammy | not-affected | code not present |
| noble | not-affected | code not present |
| oracular | not-affected | code not present |
| plucky | not-affected | code not present |
| trusty | not-affected | vulnerable code never released |
| upstream | not-affected | code not present |
| xenial | not-affected | code not present |
Debian
| Release | Status | Fixed Version | Urgency |
|---|---|---|---|
| bullseye | fixed | 1.11.1+dfsg-2 | - |
| bullseye (security) | fixed | 1.11.1+dfsg-2+deb11u1 | - |
| bookworm | fixed | 1.13.10+dfsg-2 | - |
| trixie | fixed | 1.18.2+dfsg-1 | - |
| forky | fixed | 1.18.10+dfsg-3 | - |
| sid | fixed | 1.19.1+dfsg-1 | - |
| (unstable) | not-affected | - | - |
EUVD-2025-18858
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB