# CVE-2025-6498: HTACG tidy-html5 alloc.c defaultAlloc memory leak

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-06-23T01:31:05.868Z
- Modified: 2026-06-17T10:02:01.400Z
- Weaknesses: CWE-401, CWE-404
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability classified as problematic has been found in HTACG tidy-html5 5.8.0. Affected is the function defaultAlloc of the file src/alloc.c. The manipulation leads to memory leak. It is possible to launch the attack on the local host. The exploit has been disclosed to the public and may be used.

(As written by CVE List.)

## Affected

- HTACG tidy-html5: 5.8.0
- htacg tidy: 5.8.0

## Every score

- VulDB: CVSS:4.0 4.8 Medium `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`
- VulDB: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:3.0 3.3 Low `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 1.7 Low `AV:L/AC:L/Au:S/C:N/I:N/A:P/E:POC/RL:ND/RC:UR`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/htacg/tidy-html5/issues/1152> (exploit, issue-tracking)
- <https://github.com/user-attachments/files/20438303/tidy-html5_crash_3.txt> (exploit)
- <https://vuldb.com/?id.313614> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.313614> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.601009> (third-party-advisory, vdb-entry)

## Sources

- CVE List: [CVE-2025-6498](https://www.cve.org/CVERecord?id=CVE-2025-6498), CVE Terms of Use, modified 2025-06-23
- NVD: [CVE-2025-6498](https://nvd.nist.gov/vuln/detail/CVE-2025-6498), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-6498 · Whole record: https://cve.day/CVE-2025-6498.json · Rebuilt by cve.day 2026-11-25T22:58:59.520Z
