Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gomarkdown | Markdown | < 2026-04-10 |
Related Weaknesses (CWE)
References
- https://github.com/gomarkdown/markdown/commit/759bbc3e32073c3bc4e25969c132fc520ePatch
- https://github.com/gomarkdown/markdown/security/advisories/GHSA-77fj-vx54-gvh7ExploitVendor Advisory
- https://github.com/gomarkdown/markdown/security/advisories/GHSA-77fj-vx54-gvh7ExploitVendor Advisory
FAQ
What is CVE-2026-40890?
CVE-2026-40890 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 > characte...
How severe is CVE-2026-40890?
CVE-2026-40890 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-40890?
Check the references section above for vendor advisories and patch information. Affected products include: Gomarkdown Markdown.