Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft document with malformed XML attribute
-
DeliveryDeliver file to victim
-
ExploitVictim opens document in CherryTree
-
Executionstoi/stoll throws uncaught exception
-
ImpactApplication crashes, content access blocked
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Exception handling completeness
|
| Exploitation Conditions | Exploitation requires the victim to open an attacker-supplied CherryTree document (XML-based note file) containing a non-numeric or out-of-range value in one of the specific attributes char_offset, frame_width, frame_height, col_max, or time; these values reach std::stoi/std::stoll without exception handling and crash the application. Limiting factors that reduce real-world risk: the attack vector is local (AV:L) so the malicious file must first be delivered to and opened on the victim's system, it requires user interaction (UI:P - the user must open the document), and the impact is confined to a denial of service (application crash / blocked access to content) with no confidentiality or integrity impact and no code execution. Recovery is straightforward once the offending file is removed or the application is updated to 1.7.3's successor containing the fix. |
| Impact | This is a genuinely low-priority, medium-at-most issue despite the DoS framing. The input CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L) scores 4.8 and is internally consistent with the description: the attack vector is LOCAL (the attacker must get a crafted CherryTree document to the victim's machine), requires passive user interaction (opening the file), and produces only a LOW availability impact (an application crash) with no confidentiality or integrity impact - matching CWE-248 (uncaught exception). No EPSS score is provided in the input, and there is no CISA KEV listing and no public exploit identified at time of analysis; the only exploitation-related artifacts are the vulnerable source location and the vendor fix commit, which are remediation references, not a weaponized PoC. The vuln.today decision label is 'this_month', not act_now or emergency, consistent with a crash-only, local, user-interaction-gated defect. There are no conflicting signals: every source agrees this is a local, open-the-file denial of service with no path to code execution or data exposure. The practical risk is limited to availability of a single user's note-taking session, with easy recovery once the malicious file is removed. |
| Exploit ScenarioDerived | An attacker crafts a CherryTree document whose XML contains a non-numeric or out-of-range value in a char_offset, frame_width, frame_height, col_max, or time attribute and sends it to a victim (e.g. a shared .ctb/.ctd note file). When the victim opens the document, the parser calls std::stoi/std::stoll on the malformed value, throws an uncaught exception, and crashes the application, repeatedly blocking access to that content until the file is fixed or removed. No public exploit code was identified; exploitation is local and requires the victim to open the file (AV:L, UI:P). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 28, 2026
Uncaught std::stoi and std::stoll exceptions in CherryTree through 1.7.3 let a crafted note document crash the application by supplying non-numeric or out-of-range values in the char_offset, frame_width, frame_height, col_max or time XML attributes, repeatedly blocking access to note content until the offending file is removed. The issue is local in nature: the victim must receive and open an attacker-supplied document (CVSS 4.0 4.8; independently assessed CVSS 3.1 AV:L/AC:L/PR:N/UI:R with availability-only impact), so risk is low and confined to denial of service, with no confidentiality, integrity or code-execution impact. No public exploit code or active exploitation is identified in the available data, and the upstream project has published a fix commit that replaces the throwing conversions with bounded parsing helpers.
RemediationAI
Vendor-released patch: no tagged release version is confirmed by the available data; the fix is the upstream commit https://github.com/giuspen/cherrytree/commit/5cb20c93c8833627765876bb31e745d715642acf, so users should upgrade to a CherryTree build that includes it (any release published after 1.7.3) or build from that commit, and the advisory at https://www.vulncheck.com/advisories/cherrytree-through-1.7.3-denial-of-service-via-malformed-xml-attributes should be tracked for the corresponding release. Because exploitation requires the victim to open a malicious document, the practical interim control is to avoid opening CherryTree files from untrusted sources and, if a document already crashes the application on open, remove or restore that file from a known-good backup before relaunching - re-opening it will simply crash again, and there is no in-product setting that disables parsing of the affected attributes. Any such restriction is a behavioural control with the trade-off that users cannot open legitimate external documents until the patched build is installed.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CherryTree stores notes in an XML-based document format; the parser in src/ct/ct_storage_xml.cc (lines 471-520 as cited in the advisory) reads numeric layout attributes such as char_offset, frame_width, frame_height, col_max and time and converts them with std::stoi / std::stoll. Those standard conversions throw std::invalid_argument on non-numeric text and std::out_of_range on values outside the integer range, and the parsing path does not catch them, so a malformed document terminates the process - the classic CWE-248 uncaught-exception pattern, aggravated here because the same document is re-opened on each launch and crashes again. The upstream fix commit 5cb20c93c8833627765876bb31e745d715642acf introduces CtStrUtil::stoll_or_default and CtStrUtil::stoi_or_default, which use g_ascii_strtoll with an errno == ERANGE and endptr check and fall back to a default value (and range-check back into int), and it replaces the direct std::stoi call in ct_main_win_buffer.cc with a clamped std::max(0, ...) variant. The trigger conditions for every attribute are described in the advisory; the exact parsing code path for each individual attribute beyond the cited block is not detailed in the available sources.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
A locally-delivered crafted document the user must open gives AV:L and UI:R; the uncaught exception only crashes the app, so C:N/I:N and A:L.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-137617
GHSA-7p97-3fp8-35w7
NVD
CVE.org
EPSS
VulDB
Exploit-DB