Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
|
| Impact | The CVSS 3.1 vector (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L) indicates low overall severity: local attack vector, low complexity, low privilege requirement, no confidentiality or integrity impact, only availability impact. However, the exploitation evidence tag (E:P) signals public exploit availability, elevating practical risk. The CVSS vector shows UI:N and AC:L, meaning exploitation is straightforward and requires no user interaction once a local user supplies malicious input. For systems where local users process untrusted Markdown files (documentation generators, static site builders, content management systems), this becomes a real denial-of-service vector. The maintainer's confirmation that this is a known duplicate bug suggests this may have been exploited in the wild previously. While not critical, the combination of publicly available POC, confirmed exploitability, and straightforward attack surface makes this a moderate priority for systems running discount as a document processor or embedded in applications handling user-supplied Markdown. |
| Exploit ScenarioDerived | A local user with access to a document processing system (e.g., a continuous integration pipeline, documentation build server, or shared content management platform running discount) submits a specially crafted Markdown file containing deeply nested blockquotes. The publicly available proof-of-concept file (crash00.md, referenced at https://github.com/user-attachments/files/25847391/crash00.md) triggers the parser to recurse uncontrollably. The markdown compilation process exhausts the call stack and crashes, causing denial of service. This is particularly impactful if discount is integrated into automated build pipelines or web services that process user-supplied documentation without human review, as the attacker requires only the ability to provide input-no special privileges or user interaction needed once local execution is established. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 26, 2026
Uncontrolled recursion in the Markdown Handler component of Orc discount up to version 3.0.1.2 causes denial of service through malformed deeply-nested blockquote inputs, affecting local users who process untrusted markdown files. Public exploit code exists for this vulnerability, and no patch is currently available. The issue requires local access and low privileges to trigger but can crash the application.
Earlier versions of this analysis (1)
A stack exhaustion vulnerability exists in Orc discount versions up to 3.0.1.2 in the markdown.c file's compile function, triggered by processing deeply nested blockquote structures that cause uncontrolled recursion. The vulnerability affects local users and results in denial of service through application crash. A public proof-of-concept exploit is available, and the project maintainer has acknowledged this as a duplicate of a previously identified bug, making active exploitation feasible despite the low CVSS score of 3.3.
RemediationAI
Users should upgrade to a patched version of Orc discount newer than 3.0.1.2 once available; however, as of the CVE report date, the project maintainer has not released a confirmed fix (the project status shows this as a duplicate of a previously identified but unresolved bug). As a temporary mitigation, enforce input validation and sanitization on Markdown files before processing-specifically, implement recursion depth limits in the parser or reject Markdown documents with nesting levels exceeding a safe threshold. Administrators should restrict local access to systems running discount and monitor for suspicious Markdown file submissions. Monitor the GitHub repository (https://github.com/Orc/discount/issues/305) for patch announcements and apply updates immediately upon release.
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
The Orc discount library is a Markdown parser and HTML converter. The vulnerability resides in CWE-674 (Uncontrolled Recursion), a weakness class where input processing triggers recursive function calls without adequate depth limits or termination conditions. Specifically, the markdown.c file's compile function fails to properly bound recursion when parsing nested blockquote syntax in Markdown input. The affected product is identified via CPE cpe:2.3:a:orc:discount:*:*:*:*:*:*:*:* through version 3.0.1.2. When a maliciously crafted Markdown file with infinitely deep or excessively nested blockquotes is parsed, the recursive parsing logic exhausts the stack, leading to a crash. This is a classic stack overflow condition resulting from inadequate input validation and lack of recursion depth guards.
Know when Orc gets its next vulnerability
- 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:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
A weakness has been identified in Orc discount up to 3.0.1.2. This issue affects the function compile of the file markdown.c of the component Markdown Handler. This manipulation causes uncontrolled recursion. The attack is restricted to local execution. The exploit has been made available to the public and could be used for attacks. The project maintainer confirms: "[I]f you feed it an infinitely deep blockquote input it will crash. (...) [T]his is a duplicate of an old bug that I've been working on."
Executive ViewAI
Organizations using Orc discount should be aware of moderate risk from CVE-2026-4833 rated CVSS 4.8. Exploitation could compromise the security of affected deployments. Proof-of-concept code is publicly available. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: restrict network access and enable monitoring.
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.
In Apache ORC 1.0.0 to 1.4.3 a malformed ORC file can trigger an endlessly recursive function call in the C++ or Java pa
Heap-based Buffer Overflow vulnerability in Apache ORC. Rated medium severity (CVSS 6.0), this vulnerability is low atta
EUVD-2026-16078
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB