# CVE-2024-35333: A stack-buffer-overflow vulnerability exists in the readcharsetdecl function of html2xhtml 1.3.

- Severity: High 8.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2024-05-29T15:12:09.563Z
- Modified: 2026-06-17T07:34:45.480Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

A stack-buffer-overflow vulnerability exists in the read_charset_decl function of html2xhtml 1.3. This vulnerability occurs due to improper bounds checking when copying data into a fixed-size stack buffer. An attacker can exploit this vulnerability by providing a specially crafted input to the vulnerable function, causing a buffer overflow and potentially leading to arbitrary code execution, denial of service, or data corruption.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- html2xhtml_project html2xhtml: 1.3

## References

- <https://github.com/momo1239/CVE-2024-35333>

## Sources

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

---

Page: https://cve.day/CVE-2024-35333 · Whole record: https://cve.day/CVE-2024-35333.json · Rebuilt by cve.day 2026-11-25T22:58:41.072Z
