CVE-2026-40890

NameCVE-2026-40890
DescriptionThe 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1134644

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-github-gomarkdown-markdown (PTS)bookworm0.0~git20220731.dcdaee8-2vulnerable
forky, sid, trixie0.0~git20231115.a660076-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-github-gomarkdown-markdownsource(unstable)(unfixed)1134644

Notes

https://github.com/gomarkdown/markdown/security/advisories/GHSA-77fj-vx54-gvh7
https://github.com/gomarkdown/markdown/commit/759bbc3e32073c3bc4e25969c132fc520eda2778

Search for package or bug name: Reporting problems