{"id":"CVE-2026-40890","published":"2026-04-21T19:51:53Z","modified":"2026-04-21T20:36:07Z","title":"github.com/gomarkdown/markdown: Out-of-bounds Read in SmartypantsRenderer","vendor":"gomarkdown","product":"markdown","tier":"tail","description":{"text":"The package `github.com/gomarkdown/markdown` is a Go library for parsing Markdown text and rendering as HTML. Processing a malformed input containing a < character that is not followed by a > character anywhere in the remaining text with a SmartypantsRenderer will lead to Out of Bounds read or a panic. This vulnerability is fixed with commit 759bbc3e32073c3bc4e25969c132fc520eda2778.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00535,"percentile":0.38649,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/gomarkdown/markdown/security/advisories/GHSA-77fj-vx54-gvh7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gomarkdown/markdown/commit/759bbc3e32073c3bc4e25969c132fc520eda2778","tags":["x_refsource_MISC"]}],"priority":{"score":13.0,"factors":[{"name":"EPSS percentile","points":7.73},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"gomarkdown","affectedVersions":[{"vendor":"gomarkdown","product":"markdown","versions":["< 759bbc3e32073c3bc4e25969c132fc520eda2778"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-21T20:16:21.788511Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/gomarkdown/markdown","vulnerableRanges":["<0.0.0-20260411013819-759bbc3e3207"],"patched":["0.0.0-20260411013819-759bbc3e3207"],"from":["GHSA-77fj-vx54-gvh7","GO-2026-5208"],"provenance":"source"}],"summary":{"text":"The flaw is an out-of-bounds read in the SmartypantsRenderer component of the markdown Go library, github.com/gomarkdown/markdown, which parses Markdown text and renders it as HTML.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:56:38Z"},"euvd":{"id":"EUVD-2026-24280","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-42821","published":"2023-09-22","fixed":"0.0.0-20230922105210-14b16010c2ee","kev":false},{"cve":"CVE-2024-44337","published":"2024-10-15","fixed":"0.0.0-20240729212818-a2a9c4f76ef5","kev":false,"link":{"from":"CVE-2024-44337","to":"CVE-2026-40890","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/gomarkdown/markdown","fromFixed":"0.0.0-20240729212818-a2a9c4f76ef5","toFixed":"0.0.0-20260411013819-759bbc3e3207","daysApart":553}]}},{"cve":"CVE-2026-40890","published":"2026-04-21","fixed":"0.0.0-20260411013819-759bbc3e3207","kev":false},{"cve":"CVE-2026-102941","published":"2026-10-16","fixed":"0.0.0-20260724235538-61af6e1e6971","kev":false,"link":{"from":"CVE-2026-40890","to":"CVE-2026-102941","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/gomarkdown/markdown","fromFixed":"0.0.0-20260411013819-759bbc3e3207","toFixed":"0.0.0-20260724235538-61af6e1e6971","daysApart":178}]}}],"package":"Go:github.com/gomarkdown/markdown"}}