{"id":"CVE-2026-35201","aliases":["GHSA-6r34-94wq-jhrc"],"url":"https://o3.security/vulnerability/CVE-2026-35201","summary":"Discount has an Out-of-bounds Read in rdiscount","details":"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.","published":"2026-04-06T19:49:48.806Z","modified":"2026-07-27T03:56:14.527115519Z","cvss":{"score":5.9,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"RubyGems","name":"rdiscount","fixedVersion":"2.2.7.4"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35201.json"},{"type":"ADVISORY","url":"https://github.com/davidfstr/rdiscount/security/advisories/GHSA-6r34-94wq-jhrc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35201"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-27T03:56:14.527115519Z"}}