CVE-2026-40890
published high CVSS 3.1 · 7.5github.com/gomarkdown/markdown: Out-of-bounds Read in SmartypantsRenderer
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gomarkdown | — | markdown< 759bbc3e32073c3bc4e25969c132fc520eda2778 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gomarkdown | markdown | < 759bbc3e32073c3bc4e25969c132fc520eda2778 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-125 CWE-125: Out-of-bounds Read
References
2Provider assertions
2GitHub_M · cna
github.com/gomarkdown/markdown: Out-of-bounds Read in SmartypantsRenderer
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 41ae525a69b54b8bbc1208b75c3bc372beb010977fb307609781c09214613ba2
- Ingested
- 23 Sep 2026, 09:13:21 UTC
- Source record
- Official CVE record