CVE-2026-40890Gomarkdown Markdown
High 7.5 No auth needed
Follow: this CVE · Gomarkdown · Gomarkdown Markdown We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Apr 21, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-125
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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
- Apply the vendor's security update for Markdown.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/gomarkdown/markdown |
< 0.0.0-20260411013819-759bbc3e3207 |
0.0.0-20260411013819-759bbc3e3207 |
go get github.com/gomarkdown/markdown@v0.0.0-20260411013819-759bbc3e3207 |
| Go | github.com/gomarkdown/markdown |
< 0.0.0-20260411013819-759bbc3e3207 |
0.0.0-20260411013819-759bbc3e3207 |
go get github.com/gomarkdown/markdown@v0.0.0-20260411013819-759bbc3e3207 |
Per OSV / GitHub Advisories (GHSA-77fj-vx54-gvh7, GO-2026-5208). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gomarkdown | markdown | < 2026-04-10 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21551-1 · Aug 10, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:23216-1 · Aug 10, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:23227-1 · Aug 10, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Vendor Advisory