Skip to main content

Discount CVE-2026-4833

| EUVDEUVD-2026-16078 LOW
Uncontrolled Recursion (CWE-674)
2026-03-26 VulDB
1.9
CVSS 4.0 · NVD
Temporal: 3.2

Severity by source

NVD PRIMARY
1.9 LOW
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CIRCL (temporal)
3.2 LOW
cvss

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

6
Severity Changed
Apr 29, 2026 - 01:11 NVD
MEDIUM LOW
CVSS changed
Apr 29, 2026 - 01:11 NVD
4.8 (MEDIUM) 1.9 (LOW)
PoC Detected
Mar 30, 2026 - 13:26 vuln.today
Public exploit code
EUVD ID Assigned
Mar 26, 2026 - 01:45 euvd
EUVD-2026-16078
Analysis Generated
Mar 26, 2026 - 01:45 vuln.today
CVE Published
Mar 26, 2026 - 01:02 nvd
MEDIUM 4.8

DescriptionCVE.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."

AnalysisAI

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.

Technical ContextAI

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.

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.

Share

CVE-2026-4833 vulnerability details – vuln.today

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