{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-35201","id":"CVE-2026-35201","title":"Discount has an Out-of-bounds Read in rdiscount","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 vulnerabil","descriptionLong":"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","updated":"2026-10-28T02:31:09.468629118Z","reserved":"2026-04-01T18:48:58.937Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"github.com"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub"}],"rating":"medium","products":["davidfstr rdiscount"],"affectedProducts":[{"vendor":"davidfstr","product":"rdiscount","defaultStatus":null,"versions":[{"version":">= 1.3.1.1, < 2.2.7.4","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"rdiscount","purl":"pkg:gem/rdiscount","ranges":[">=1.3.1.1 <2.2.7.4"],"fixed":["2.2.7.4"],"advisory":"GHSA-6r34-94wq-jhrc"}],"cwes":["CWE-125"],"aliases":["GHSA-6r34-94wq-jhrc"],"references":[{"url":"https://github.com/davidfstr/rdiscount/security/advisories/GHSA-6r34-94wq-jhrc","tags":["x_refsource_CONFIRM","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35201.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35201","tags":["advisory"]},{"url":"https://github.com/davidfstr/rdiscount/commit/b1a16445e92e0d12c07594dedcdc56f80b317761","tags":["web"]},{"url":"https://github.com/davidfstr/rdiscount","tags":["package"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rdiscount/CVE-2026-35201.yml","tags":["web"]},{"url":"http://github.com/davidfstr/rdiscount/releases/tag/2.2.7.4","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00285,"epssPercentile":0.21349,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-35201","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35201","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-35201","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-6r34-94wq-jhrc","ok":true,"note":"GHSA-6r34-94wq-jhrc"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-35201","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}