CVE-2026-35201
published medium CVSS 3.1 · 5.9Discount has an Out-of-bounds Read in rdiscount
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| davidfstr | — | rdiscount>= 1.3.1.1, < 2.2.7.4 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | ruby-rdiscount | Fixed | 2.2.7.5-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| davidfstr | rdiscount | >= 1.3.1.1, < 2.2.7.4 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-125 CWE-125: Out-of-bounds Read
References
1Provider assertions
2GitHub_M · cna
Discount has an Out-of-bounds Read in rdiscount
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fd95b1967a7dc0c061cea0be9818b2344c00e6bec4f11a578a79c48e50513b89
- Ingested
- 23 Sep 2026, 09:11:31 UTC
- Source record
- Official CVE record