HTACG tidy-html5 5.8.0 src/parser.c InsertNodeAsParent null pointer dereference
Summary
A vulnerability described as problematic has been identified in HTACG tidy-html5 5.8.0. This affects the function InsertNodeAsParent of the file src/parser.c. Executing a manipulation can lead to null pointer dereference.
This vulnerability is tracked as CVE-2025-6496. The attack is restricted to local execution. Moreover, an exploit is present.
Details
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 with an unknown input leads to a null pointer dereference vulnerability. The CWE definition for the vulnerability is CWE-476. A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit. As an impact it is known to affect availability.
The advisory is shared for download at github.com. This vulnerability was named CVE-2025-6496. The exploitation appears to be easy. The attack needs to be approached locally. Technical details and also a public exploit are known.
It is possible to download the exploit at github.com. It is declared as proof-of-concept.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the vulnerability database at EUVD (EUVD-2025-18857). Once again VulDB remains the best source for vulnerability data.
Product
Vendor
Name
Version
Website
- Product: https://github.com/htacg/tidy-html5/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 3.3VulDB Meta Temp Score: 3.1
VulDB Base Score: 3.3
VulDB Temp Score: 3.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 3.3
CNA Vector: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Null pointer dereferenceCWE: CWE-476 / CWE-404
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: No
Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔒
Timeline
06/22/2025 Advisory disclosed06/22/2025 VulDB entry created
06/23/2025 VulDB entry last update
Sources
Product: github.comAdvisory: 1141
Status: Not defined
CVE: CVE-2025-6496 (🔒)
GCVE (CVE): GCVE-0-2025-6496
GCVE (VulDB): GCVE-100-313612
EUVD: 🔒
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 06/22/2025 21:09Updated: 06/23/2025 03:32
Changes: 06/22/2025 21:09 (56), 06/23/2025 02:22 (30), 06/23/2025 03:32 (1)
Complete: 🔍
Submitter: JJLeo
Cache ID: 216::103
Submit
Accepted
- Submit #601007: htacg tidy-html5 tidy-html5 5.8.0 (commit d08ddc2) NULL Pointer Dereference (by JJLeo)
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.