{"id":"CVE-2026-35201","published":"2026-04-06T19:49:48Z","modified":"2026-04-07T16:21:14Z","title":"Discount has an Out-of-bounds Read in rdiscount","vendor":"davidfstr","product":"rdiscount","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00285,"percentile":0.21554,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/davidfstr/rdiscount/security/advisories/GHSA-6r34-94wq-jhrc","tags":["x_refsource_CONFIRM"]}],"priority":{"score":8.4,"factors":[{"name":"EPSS percentile","points":4.31},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"davidfstr","affectedVersions":[{"vendor":"davidfstr","product":"rdiscount","versions":[">= 1.3.1.1, < 2.2.7.4"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-07T16:21:05.300982Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"rdiscount","vulnerableRanges":[">=1.3.1.1, <2.2.7.4"],"patched":["2.2.7.4"],"from":["GHSA-6r34-94wq-jhrc"],"provenance":"source"}],"summary":{"text":"The flaw is an out-of-bounds read in the default Markdown parse path of rdiscount, the C implementation of John Gruber's Markdown language by davidfstr. Inputs larger than INT_MAX are truncated to a signed int before reaching the native parser, so it can read past the end of the supplied buffer and crash the process, and an attacker can do this remotely with no authentication or user interaction, though it requires a high-complexity condition (AC:H) and affects only availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:12:13Z"},"euvd":{"id":"EUVD-2026-19474","exploited":false,"provenance":"source"}}