# CVE-2021-34121: An Out of Bounds flaw was discovered in htmodoc 1.9.12 in function parsetree() in toc.cxx, this possibly leads to memory layout information…

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/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.34%, higher than 28% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-07-18T00:00:00.000Z
- Modified: 2026-06-17T03:55:29.587Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## Description

An Out of Bounds flaw was discovered in htmodoc 1.9.12 in function parse_tree() in toc.cxx, this possibly leads to memory layout information leaking in the data. This might be used in a chain of vulnerability in order to reach code execution.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- htmldoc_project htmldoc: 1.9.12

## References

- <https://github.com/michaelrsweet/htmldoc/issues/433> (exploit, issue-tracking)
- <https://github.com/michaelrsweet/htmldoc/commit/c67bbd8756f015e33e4ba639a40c7f9d8bd9e8ab> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2021-34121 · Whole record: https://cve.day/CVE-2021-34121.json · Rebuilt by cve.day 2026-11-25T22:58:08.490Z
