CVE-2026-35201
Last modified
CVE-2026-35201 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. Discount is an implementation of John Gruber's Markdown markup language in C. From 1.3.1.1 to before 2.2.7.4, a signed length truncation bug causes an out-of-bounds read in the default Markdown parse path. EPSS estimates a 0.27% chance of exploitation in the next 30 days.
Description
Discount is an implementation of John Gruber's Markdown markup language in C. From 1.3.1.1 to before 2.2.7.4, a signed length truncation bug causes an out-of-bounds read in the default Markdown parse path. Inputs larger than INT_MAX are truncated to a signed int before entering the native parser, allowing the parser to read past the end of the supplied buffer and crash the process. This vulnerability is fixed in 2.2.7.4.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Dafoster | Rdiscount | >= 1.3.1.1, < 2.2.7.4 |
References
- https://github.com/davidfstr/rdiscount/security/advisories/GHSA-6r34-94wq-jhrcExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-35201?
How severe is CVE-2026-35201?
How do I fix CVE-2026-35201?
Are you affected by CVE-2026-35201?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
