{"id":"CVE-2026-40890","summary":"github.com/gomarkdown/markdown: Out-of-bounds Read in SmartypantsRenderer","details":"The package `github.com/gomarkdown/markdown` is a Go library for parsing Markdown text and rendering as HTML. Processing a malformed input containing a \u003c character that is not followed by a \u003e 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.","aliases":["GHSA-77fj-vx54-gvh7"],"modified":"2026-07-16T03:48:30.454239933Z","published":"2026-04-21T19:51:53.237Z","related":["CGA-cwfm-5m84-fpxh"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-125"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40890.json","unresolved_ranges":[{"extracted_events":[{"fixed":"759bbc3e32073c3bc4e25969c132fc520eda2778"}],"source":"AFFECTED_FIELD"}]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40890.json"},{"type":"ADVISORY","url":"https://github.com/gomarkdown/markdown/security/advisories/GHSA-77fj-vx54-gvh7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40890"},{"type":"FIX","url":"https://github.com/gomarkdown/markdown/commit/759bbc3e32073c3bc4e25969c132fc520eda2778"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gomarkdown/markdown","events":[{"introduced":"0"},{"fixed":"759bbc3e32073c3bc4e25969c132fc520eda2778"}],"database_specific":{"source":"REFERENCES"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40890.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}