CVE-2026-40890

Severity CVSS v4.0:
Pending analysis
Type:
CWE-125 Out-of-bounds Read
Publication date:
21/04/2026
Last modified:
27/04/2026

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 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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:gomarkdown:markdown:*:*:*:*:*:go:*:* 2026-04-10 (excluding)