CVE-2026-40890

HIGH

github.com/gomarkdown/markdown: Out-of-bounds Read in SmartypantsRenderer

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 7.5
EPSS 0.0035
EPSS Percentile 26.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-125
Status published
Products (3)
gomarkdown/markdown < 2026-04-10
gomarkdown/markdown 0 - 0.0.0-20260411013819-759bbc3e3207Go
gomarkdown/markdown < 759bbc3e32073c3bc4e25969c132fc520eda2778
Published Apr 21, 2026
Tracked Since Apr 22, 2026