CVE Explorer
CVE-2026-35201
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"rdiscount","vendor":"davidfstr","versions":[{"status":"affected","version":">= 1.3.1.1, < 2.2.7.4"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:0478ecf5ce80ea72df18840f22419cf1d715693e972b0f308d4bddff4da70af6 · sha256:2d8d05e78813dc8e… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:0478ecf5ce80ea72df18840f22419cf1d715693e972b0f308d4bddff4da70af6 · sha256:2d8d05e78813dc8e… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-125","description":"CWE-125: Out-of-bounds Read","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:0478ecf5ce80ea72df18840f22419cf1d715693e972b0f308d4bddff4da70af6 · sha256:2d8d05e78813dc8e… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"name":"https://github.com/davidfstr/rdiscount/security/advisories/GHSA-6r34-94wq-jhrc","tags":["x_refsource_CONFIRM"],"url":"https://github.com/davidfstr/rdiscount/security/advisories/GHSA-6r34-94wq-jhrc"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:0478ecf5ce80ea72df18840f22419cf1d715693e972b0f308d4bddff4da70af6 · sha256:2d8d05e78813dc8e… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.