CVE-2026-35201: CWE-125: Out-of-bounds Read in davidfstr rdiscount
CVE-2026-35201 is an out-of-bounds read vulnerability in the rdiscount Markdown parser (versions >= 1. 3. 1. 1 and < 2. 2. 7. 4). It arises from a signed length truncation bug where inputs larger than INT_MAX are truncated before parsing, causing the parser to read beyond the buffer and potentially crash. This issue affects availability but does not impact confidentiality or integrity. The vulnerability is fixed in version 2.
AI Analysis
Technical Summary
The rdiscount library, a C implementation of John Gruber's Markdown, contains a signed length truncation bug in versions from 1.3.1.1 up to but not including 2.2.7.4. When processing inputs larger than INT_MAX, the length is truncated to a signed int before parsing, leading to an out-of-bounds read in the default Markdown parse path. This can cause the process to crash due to reading past the end of the supplied buffer. The vulnerability is classified under CWE-125 (Out-of-bounds Read) and has a CVSS v3.1 base score of 5.9 (medium severity). The issue is resolved in version 2.2.7.4.
Potential Impact
The vulnerability allows an attacker to cause a denial of service by crashing the process using specially crafted Markdown inputs larger than INT_MAX. There is no impact on confidentiality or integrity according to the CVSS vector. No known exploits in the wild have been reported.
Mitigation Recommendations
Upgrade rdiscount to version 2.2.7.4 or later, where this vulnerability is fixed. Since the vendor advisory does not provide additional remediation details, applying this official fix is the recommended action. Patch status is confirmed by the version fix information in the description.
CVE-2026-35201: CWE-125: Out-of-bounds Read in davidfstr rdiscount
Description
CVE-2026-35201 is an out-of-bounds read vulnerability in the rdiscount Markdown parser (versions >= 1. 3. 1. 1 and < 2. 2. 7. 4). It arises from a signed length truncation bug where inputs larger than INT_MAX are truncated before parsing, causing the parser to read beyond the buffer and potentially crash. This issue affects availability but does not impact confidentiality or integrity. The vulnerability is fixed in version 2.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The rdiscount library, a C implementation of John Gruber's Markdown, contains a signed length truncation bug in versions from 1.3.1.1 up to but not including 2.2.7.4. When processing inputs larger than INT_MAX, the length is truncated to a signed int before parsing, leading to an out-of-bounds read in the default Markdown parse path. This can cause the process to crash due to reading past the end of the supplied buffer. The vulnerability is classified under CWE-125 (Out-of-bounds Read) and has a CVSS v3.1 base score of 5.9 (medium severity). The issue is resolved in version 2.2.7.4.
Potential Impact
The vulnerability allows an attacker to cause a denial of service by crashing the process using specially crafted Markdown inputs larger than INT_MAX. There is no impact on confidentiality or integrity according to the CVSS vector. No known exploits in the wild have been reported.
Mitigation Recommendations
Upgrade rdiscount to version 2.2.7.4 or later, where this vulnerability is fixed. Since the vendor advisory does not provide additional remediation details, applying this official fix is the recommended action. Patch status is confirmed by the version fix information in the description.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-01T18:48:58.937Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d4982faaed68159ac9fe05
Added to database: 4/7/2026, 5:37:51 AM
Last enriched: 4/14/2026, 3:56:29 PM
Last updated: 5/23/2026, 3:47:50 AM
Views: 45
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.