CVE-2026-40890
The package `github.com/gomarkdown/markdown` is a Go library for …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/gomarkdown/markdown/security/advisories/GHSA-77fj-vx54-gvh7
- github.com/gomarkdown/markdown/commit/759bbc3e32073c3bc4e25969c132fc520eda2778
- github.com/advisories/GHSA-77fj-vx54-gvh7
- nvd.nist.gov/vuln/detail/CVE-2026-40890
- nvd.nist.gov/vuln/detail/CVE-2026-40890
- cve.org/CVERecord?id=CVE-2026-40890
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.