Out-of-bounds Read in Gomarkdown Markdown
CVE-2026-40890
- CVSS v3
- 7.5 High
- Public exploits
- None known
- EPSS
- 0.004 · 30.4th percentile
- Published
- 2026-04-21
What to do
- Fixed in
759bbc3e32073c3bc4e25969c132fc520eda2778- Affected
- 1 affected product
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.004, 30.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Gomarkdown Markdown — versions < 759bbc3e32073c3bc4e25969c132fc520eda2778