製品・ソフトウェアに関する情報
gomarkdownのMarkdownにおける境界外読み取りに関する脆弱性
Title gomarkdownのMarkdownにおける境界外読み取りに関する脆弱性
Summary

パッケージ `github.com/gomarkdown/markdown` は、Markdownテキストを解析しHTMLとしてレンダリングするGoのライブラリです。残りのテキストのどこにも続く 文字がなく、 文字を含む不正な入力をSmartypantsRendererで処理すると、範囲外読み取りまたはパニックが発生する可能性があります。この脆弱性は、コミット759bbc3e32073c3bc4e25969c132fc520eda2778によって修正されました。

Possible impacts 当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date April 21, 2026, midnight
Registration Date April 30, 2026, 12:28 p.m.
Last Update April 30, 2026, 12:28 p.m.
CVSS3.0 : 重要
Score 7.5
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected System
gomarkdown
Markdown 2026-04-10 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年04月30日]
  掲載
April 30, 2026, 12:28 p.m.

NVD Vulnerability Information
CVE-2026-40890
Summary

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.

Publication Date April 22, 2026, 5:17 a.m.
Registration Date April 25, 2026, 4:03 a.m.
Last Update April 28, 2026, 12:07 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:gomarkdown:markdown:*:*:*:*:*:go:*:* 2026-04-10
Related information, measures and tools
Common Vulnerabilities List