CherryTree denial of service in XML attribute parsing
- Exploited
- No known exploitation
- Fix
- Fix or patch referenced
- Who is exposed
- Specific setups only
Summary
CherryTree, from giuspen, can be crashed by a specially crafted XML document that contains malformed or out-of-range attribute values. The attack is local and needs no login, but a user must open the malicious file, and the result is a repeated crash that blocks access to the content.
Written by a model
Original description
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 char_offset, frame_width, frame_height, col_max, or time attributes to repeatedly crash CherryTree and block access to content.
Who should check
Anyone running CherryTree 1.7.3 or earlier who opens XML documents from untrusted sources.
“Affecting cherrytree <= 1.7.3”
What to do
Check whether your setup matches what the bug needs.
CherryTree version 1.7.3 or earlier. The victim opens a crafted document with non-numeric or out-of-range char_offset, frame_width, frame_height, col_max, or time attributes.Apply the patch listed under Evidence.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-138300 (CherryTree through 1.7.3 Denial of Service via Malformed XML Attributes), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-138300 (entry last updated 2026-11-28):
Affected:
- giuspen cherrytree: through 1.7.3
Fixed versions: none listed yet.
Conditions (all must be true for the bug to be hit):
- CherryTree version 1.7.3 or earlier. (source: https://www.vulncheck.com/advisories/cherrytree-through-1.7.3-denial-of-service-via-malformed-xml-attributes)
- The victim opens a crafted document with non-numeric or out-of-range char_offset, frame_width, frame_height, col_max, or time attributes. (source: https://www.vulncheck.com/advisories/cherrytree-through-1.7.3-denial-of-service-via-malformed-xml-attributes)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: local access, no login, a user action.
CISA KEV: CVE-2026-138300 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-138300 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/giuspen/cherrytree/commit/5cb20c93c8833627765876bb31e745d715642acf
- https://github.com/giuspen/cherrytree/blob/v1.7.3/src/ct/ct_storage_xml.cc#L471-L520
- https://www.vulncheck.com/advisories/cherrytree-through-1.7.3-denial-of-service-via-malformed-xml-attributes
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-138300
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-138300"}.Affected versions
- giuspen cherrytreethrough 1.7.3
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure5/25Specific setups only
- Reach?/20Unknown. No tracked technology or package matched
- Severity4.8/10CVSS 4.8
- No patch0/5No signal
What would change the score
- Would score about 60 if added to CISA KEV
- Would score about 55 if CISA's SSVC rates exploitation active
- Would score about 20 if CISA's SSVC rates it automatable
Timeline
- CVE published
- First seen by cve.now
Evidence 5
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-138300 |
| Record | NVD · CVE-2026-138300 |
| Other links 3 | |
| Patch | GitHub · giuspen/cherrytree · Commit 5cb20c93 |
| Repository | GitHub · giuspen/cherrytree · src/ct/ct_storage_xml.cc · L471-L520 |
| Link | vulncheck.com · advisories/cherrytree-through-1.7.3-denial-of-service-via-malformed-xml-attributes |
Questions about CVE-2026-138300
Is CVE-2026-138300 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
A crafted CherryTree document with non-numeric or out-of-range values in certain XML attributes (such as char_offset, frame_width, frame_height, col_max, or time) can repeatedly crash the application, denying access to its content. The attack needs the victim to open the malicious document.
Source: vulncheck.com
Which versions are affected by CVE-2026-138300?
cherrytree: through 1.7.3.
Source: cve.now feed data
Am I affected, and how do I check?
CherryTree version 1.7.3 and earlier are listed as affected, with no earlier version excluded. To check a version, look at the version shown by the installed CherryTree application or its package manager entry.
Source: vulncheck.com
How do I fix CVE-2026-138300?
No fixed version or vendor patch is listed in the checked facts, so no upgrade target can be named from these sources. Check the CherryTree project for a newer release that addresses this issue.
Source: vulncheck.com
Related
- CVE-2026-118692CherryTree through 1.7.2 OS Command Injection via Custom Web Link Action
- CVE-2026-138299CherryTree through 1.7.3 Local File Read via LaTeX Filter Bypass
- CVE-2026-118693CherryTree through 1.7.2 Local File Disclosure via Embedded-File Filename Path
- CVE-2026-133245parse5 7.0.0 before 8.1.1 Denial of Service via Preprocessor#_processSurrogate
- CVE-2026-134242Parse Server 2.5.0 before 8.6.121 and 9.0.0 before 9.11.1-alpha.1 Denial of Service via beforeSave Trigger
- CVE-2026-129344Client-selected V1 serializer crashes shared broadcast dispatch on binary payloads
No corrections so far. Something wrong on this page? Report an error.