HTACG Tidy-HTML5 Memory Leak Vulnerability in Alloc Function

Vulnerability

A memory leak vulnerability has been identified in HTACG Tidy-HTML5 version 5.8.0. The issue arises in the 'defaultAlloc' function within 'src/alloc.c', where the program fails to properly manage and release allocated memory. This flaw can be exploited locally, leading to a gradual consumption of available memory and causing a denial-of-service condition.

Impact

Exploitation of this vulnerability causes a memory leak, where the application fails to release allocated memory, leading to increased memory usage and potential exhaustion of system resources.

Reproduction

The vulnerability can be reproduced using a fuzzing harness that is part of the Google OSS-Fuzz project. The steps involve compiling Tidy-HTML5 with Clang, using AddressSanitizer to detect memory leaks, and then running the fuzzer with a specially crafted input that triggers the leak. The fuzzing harness is available on GitHub as part of the OSS-Fuzz repository.

Added: Jun 23, 2025, 2:23 AM
Updated: Jun 23, 2025, 2:23 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
6.0
remediation
0.0
relevance
0.2
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.