Skip to main content

tidy-html5 CVE-2025-6496

| EUVDEUVD-2025-18857 LOW
Improper Resource Shutdown or Release (CWE-404)
2025-06-23 cna@vuldb.com
1.9
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Local access
  2. Exploit
    Execute tidy-html5 with crafted HTML
  3. Execution
    Trigger null pointer dereference in InsertNodeAsParent
  4. Impact
    Denial of service (crash)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V14 - Configuration Dependency management, component inventory
Exploitation Conditions

The attacker must have local access to the system and be able to execute the tidy-html5 binary with a specially crafted HTML file. No special configuration is required beyond having the affected version installed. The attack requires low privileges (PR:L) and no user interaction (UI:N).

Impact

CVSS 4.0 base score is 1.9 (Low) with vector AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L, indicating local access, low complexity, and low privileges required, with only availability impact. EPSS score is 0.02% (percentile 6%), suggesting very low exploitation probability. No KEV listing. A public exploit exists, but the low CVSS and EPSS indicate this is a low-priority issue, primarily a denial-of-service risk for local users.

Exploit ScenarioDerived

A local attacker with low privileges runs a crafted HTML file through tidy-html5, triggering a null pointer dereference in InsertNodeAsParent, causing the application to crash. A public exploit is available, making the attack straightforward.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Jul 26, 2026

Null pointer dereference in HTACG tidy-html5 5.8.0 allows local attackers to cause a denial of service via the InsertNodeAsParent function in src/parser.c. A public exploit exists, but no active exploitation has been reported. EPSS score is low (0.02%), indicating minimal exploitation risk.

Earlier versions of this analysis (1)
v1 Mar 15, 2026 - 22:10 CVSS 3.3

RemediationAI

Apply the vendor-released patch available from the tidy-html5 repository. Upgrade to a patched version beyond 5.8.0. As a workaround, restrict local access to the tidy-html5 binary to trusted users only. Note that this is a local vulnerability, so limiting user permissions can mitigate risk.

Affected VersionsENISA

tidy-html5 5.8.0

Affected Packages

euvd tidy_html5 no fix

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 is a null pointer dereference (CWE-404) in the HTML parser library tidy-html5, specifically in the InsertNodeAsParent function within src/parser.c. The library is used for cleaning and formatting HTML content. The CPE data indicates only version 5.8.0 is affected. The root cause is improper handling of a null pointer when inserting a node as a parent, leading to a crash.

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

NVD PRIMARY 1.9 LOW
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
vuln.today AI 3.3 LOW

Local attack vector, low privileges, only availability impact.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Ubuntu MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
CVSS changed
Apr 29, 2026 - 01:11 NVD
3.3 (LOW) 1.9 (LOW)
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Jun 23, 2025 - 00:15 nvd
LOW 3.3

DescriptionCVE.org

A vulnerability was found in HTACG tidy-html5 5.8.0. It has been declared as problematic. This vulnerability affects the function InsertNodeAsParent of the file src/parser.c. The manipulation leads to null pointer dereference. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used.

Executive ViewAI

Why It Matters

CVE-2025-6496 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.

Business Impact: Low
Compensating Controls

Apply vendor patch during routine maintenance. Standard security controls provide adequate interim protection.

Threat Intelligence Overview

EPSS Score
0.0%
Top 94% exploitable
Prevalence
Medium
Used in Linux distributions, but not ubiquitous
Data Quality
7 sources
Confidence: High

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Low

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

Ubuntu

Priority: Medium
tidy-html5
Release Status Version
upstream needs-triage -
bionic deferred 2026-03-11
focal deferred 2026-03-11
jammy deferred 2026-03-11
noble deferred 2026-03-11
oracular ignored end of life, was deferred [2026-03-11]
plucky ignored end of life, was deferred [2026-03-11]
questing deferred 2026-03-11

Debian

Bug #1108235
tidy-html5
Release Status Fixed Version Urgency
bookworm, bullseye vulnerable 2:5.6.0-11 -
trixie vulnerable 2:5.8.0-2 -
forky, sid vulnerable 2:5.8.0-2.1 -
(unstable) fixed (unfixed) -

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy