CVE-2025-6496 HTACG tidy-html5 parser.c InsertNodeAsParent null pointer dereference

Medium 4.8 Published Updated

A local attacker can cause a denial of service in the tidy-html5 library via a null pointer dereference in the parser.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-6496?

CVE-2025-6496 is a medium-severity vulnerability in HTACG tidy-html5, published on 23 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-476, CWE-404

Which versions are affected by CVE-2025-6496?

How do I fix CVE-2025-6496?

No fix has been published for CVE-2025-6496 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-6496 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-6496 exists.

Sources

Also known as DEBIAN-CVE-2025-6496, GHSA-8cw2-hw77-mrmj, UBUNTU-CVE-2025-6496.

Is CVE-2025-6496 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free