<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Cve-2026-40890 - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/cve-2026-40890/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Wed, 22 Apr 2026 12:00:00 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/cve-2026-40890/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Go-Markdown Library Vulnerable to Out-of-Bounds Read via Malformed Input</title><link>https://feed.craftedsignal.io/briefs/2026-04-22-gomarkdown-oob-read/</link><pubDate>Wed, 22 Apr 2026 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-04-22-gomarkdown-oob-read/</guid><description>The `github.com/gomarkdown/markdown` Go library is susceptible to an out-of-bounds read or panic when processing malformed input with the SmartypantsRenderer, potentially leading to a denial-of-service condition.</description><content:encoded><![CDATA[<p>The <code>github.com/gomarkdown/markdown</code> library, a widely used Go package for parsing Markdown and rendering it as HTML, contains a vulnerability (CVE-2026-40890) that can be triggered by processing specially crafted Markdown input. Specifically, if the input contains a <code>&lt;</code> character that is not subsequently closed by a <code>&gt;</code> character, the SmartypantsRenderer will cause an out-of-bounds read or panic. This issue was introduced in an earlier version of the library and was addressed in commit 759bbc3e32073c3bc4e25969c132fc520eda2778. Exploitation of this vulnerability can lead to a denial-of-service (DoS) condition, affecting applications that rely on this library to process untrusted Markdown content. Defenders should ensure they are running a patched version of the library.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker crafts a malicious Markdown document containing a <code>&lt;</code> character without a closing <code>&gt;</code> character.</li>
<li>A user or automated system submits the malicious Markdown document to an application using the vulnerable <code>github.com/gomarkdown/markdown</code> library.</li>
<li>The application calls the <code>markdown.ToHTML</code> function with the crafted Markdown and uses <code>SmartypantsRenderer</code> to render to HTML.</li>
<li>The <code>SmartypantsRenderer</code> attempts to process the malformed <code>&lt;</code> character.</li>
<li>Due to the missing <code>&gt;</code>, the renderer attempts to read beyond the bounds of the input buffer, triggering an out-of-bounds read.</li>
<li>The out-of-bounds read leads to a panic within the Go application.</li>
<li>The panic crashes the Go application, causing a denial-of-service.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of this vulnerability results in a denial-of-service condition. Applications using the vulnerable version of <code>github.com/gomarkdown/markdown</code> may crash when processing attacker-controlled Markdown input. The severity of the impact depends on the role of the affected application; if it is a critical service, the denial of service could have significant consequences. The number of potential victims is proportional to the number of applications using the vulnerable <code>github.com/gomarkdown/markdown</code> library and processing potentially untrusted Markdown content.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Update the <code>github.com/gomarkdown/markdown</code> library to a version containing commit 759bbc3e32073c3bc4e25969c132fc520eda2778 or later to remediate the vulnerability.</li>
<li>Implement input validation to sanitize Markdown input before processing it with the <code>github.com/gomarkdown/markdown</code> library.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>markdown</category><category>go</category><category>denial-of-service</category><category>cve-2026-40890</category></item></channel></rss>