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.
- CVSS
- 7.5High
- Chance of exploitation (EPSS)
- —
- Published
- Apr 21, 2026
- In the news
- Not yet
What to do
A serious memory read flaw in Gomarkdown Markdown that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Affected versions
- Gomarkdown Markdown
- < 759bbc3e32073c3bc4e25969c132fc520eda27
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.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-40890 published (CVSS 7.5) (Apr 21, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Tue, Apr 21, 2026
- CVECVE-2026-40890 published (CVSS 7.5)CVE Program · 20:17 UTC
References 3
- github.com Patch /gomarkdown/markdown/commit/759bbc3e32073c3bc4e25969c132fc520eda2778
- github.com ExploitVendor Advisory /gomarkdown/markdown/security/advisories/GHSA-77fj-vx54-gvh7
- github.com ExploitVendor Advisory /gomarkdown/markdown/security/advisories/GHSA-77fj-vx54-gvh7