Skip to main content

CherryTree CVE-2026-138300

| EUVDEUVD-2026-137617 MEDIUM
Uncaught Exception (CWE-248)
2026-11-28 disclosure@vulncheck.com GHSA-7p97-3fp8-35w7
4.8
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft document with malformed XML attribute
  2. Delivery
    Deliver file to victim
  3. Exploit
    Victim opens document in CherryTree
  4. Execution
    stoi/stoll throws uncaught exception
  5. Impact
    Application 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).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

cherrytree 0 ≤1.7.3

Affected Packages

euvd cherrytree no fix

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

Vendor (vulncheck) PRIMARY 4.8 MEDIUM
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
vuln.today AI 3.3 LOW

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.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Low
niche open-source hierarchical note-taking app, no enterprise footprint
Social Media
2
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy