CVE-2026-138300: CherryTree through 1.7.3 Denial of Service via Malformed XML Attributes
CherryTree through 1.7.3 contains a denial of service vulnerability that allows attackers to crash the application through uncaught std::stoi/std::stoll exceptions on malformed XML attributes. Attackers can craft a document with non-numeric or out-of-range charoffset, framewidth, frameheight, colmax, or time attributes to repeatedly crash CherryTree and block access to content.
Affected Software
Event History
Frequently Asked Questions
What must an attacker do to trigger the crash?
An attacker must craft a CherryTree document containing non-numeric or out-of-range values in XML attributes such as char_offset, frame_width, frame_height, col_max, or time, and induce a user to open it.
Are systems exposed by default?
Exploitation requires local access and user interaction. A user must open the malicious document in CherryTree; the provided data does not indicate a network-reachable attack path.
How can I identify potentially malicious documents?
Inspect XML-backed CherryTree documents for non-numeric or out-of-range values in the char_offset, frame_width, frame_height, col_max, and time attributes. Opening such a document may crash the application.
What can be done while patching is unavailable?
Do not open untrusted CherryTree documents, particularly documents received from external or unverified sources. Validate the relevant XML attribute values as numeric and within expected ranges before opening them.