CVE-2026-138300

CherryTree through 1.7.3 Denial of Service via Malformed XML Attributes

Published Nov 28, 2026 CVSS 4.0 · 4.8 Medium EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

CherryTree up to 1.7.3 can be forced to crash when loading an XML file that contains malformed attributes. The application does not catch the std::stoi or std::stoll exceptions raised when the char_offset, frame_width, frame_height, col_max, or time attributes are non‑numeric or out of range. As a result, an attacker who can supply a crafted file can repeatedly crash the program, causing a denial of service for the user. This flaw is a local denial‑of‑service condition, as it requires the ability to open a file.

Affected Systems

The affected product is CherryTree from the CherryTree Project, available under the giuspen:cherrytree vendor. Versions up to and including 1.7.3 are vulnerable. Versions beyond 1.7.3 are not affected.

Risk and Exploitability

The CVSS score of 4.8 indicates a moderate severity. EPSS is not available, and the flaw is not listed as a Known Exploited Vulnerability. The likely attack vector is local – an adversary must provide a malicious XML file to the user or distribute it via a compromised document. Once opened, the unhandled exception causes the application to terminate, locking the user out of their notes until the program is relaunched. Because the flaw resides purely in parsing, automated exploitation is limited, but any user who opens a crafted file will experience repeated crashes.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to CherryTree 1.7.4 or later to eliminate the vulnerability.
  • If an upgrade is not immediately possible, avoid opening XML files that have not been verified by a trusted source until the patch is applied.
  • Consider implementing a pre‑load validation step that checks that char_offset, frame_width, frame_height, col_max, and time attributes are numeric and within valid ranges before allowing the file to be processed.

Generated by OpenCVE AI on November 28, 2026 at 18:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title CherryTree through 1.7.3 Denial of Service via Malformed XML Attributes
First Time appeared Cherrytree Project
Cherrytree Project cherrytree
Weaknesses CWE-248
CPEs cpe:2.3:a:cherrytree_project:cherrytree:*:*:*:*:*:*:*:*
Vendors & Products Cherrytree Project
Cherrytree Project cherrytree
References
Metrics cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'}

cvssV4_0

{'score': 4.8, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 28, 2026, 5:05 PM
Reserved
Nov 28, 2026, 4:55 PM
Status
Received
Published
Nov 28, 2026, 5:16 PM
Modified
Nov 28, 2026, 5:16 PM