{"id":"CVE-2026-35201","sourceIdentifier":"security-advisories@github.com","published":"2026-04-06T20:16:27.893","lastModified":"2026-07-24T21:10:00.143","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Discount es una implementación del lenguaje de marcado Markdown de John Gruber en C. Desde la 1.3.1.1 hasta antes de la 2.2.7.4, un error de truncamiento de longitud con signo causa una lectura fuera de límites en la ruta de análisis de Markdown predeterminada. Las entradas mayores que INT_MAX se truncan a un entero con signo antes de entrar al analizador nativo, permitiendo que el analizador lea más allá del final del búfer suministrado y bloquee el proceso. Esta vulnerabilidad se corrige en la 2.2.7.4."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"davidfstr","product":"rdiscount","versions":[{"version":">= 1.3.1.1, < 2.2.7.4","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":5.9,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":2.2,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-04-07T16:21:05.300982Z","id":"CVE-2026-35201","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-125"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:dafoster:rdiscount:*:*:*:*:*:ruby:*:*","versionStartIncluding":"1.3.1.1","versionEndExcluding":"2.2.7.4","matchCriteriaId":"CD92C2DB-DEF1-4154-A725-76F41B1A0BBC"}]}]}],"references":[{"url":"https://github.com/davidfstr/rdiscount/security/advisories/GHSA-6r34-94wq-jhrc","source":"security-advisories@github.com","tags":["Exploit","Vendor Advisory"]}]}