Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-35201: CWE-125: Out-of-bounds Read in davidfstr rdiscount

0
Medium
VulnerabilityCVE-2026-35201cvecve-2026-35201cwe-125
Published: Mon Apr 06 2026 (04/06/2026, 19:49:48 UTC)
Source: CVE Database V5
Vendor/Project: davidfstr
Product: 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

AILast updated: 04/14/2026, 15:56:29 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses