CVE-2026-40890: github.com/gomarkdown/markdown - Denial of Service
- Cve: CVE-2026-40890
- Name: github.com/gomarkdown/markdown - Denial of Service
- 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.
- Impact: Attackers can cause a panic or crash, leading to denial of service.
- Remediation: Update to the version including commit 759bbc3e32073c3bc4e25969c132fc520eda2778 or later.
- Vulnerability type: out_of_bounds_rw
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00359
- Epss percentile: 0.30015
- Assignee: [email protected]
- Published at: 2026-04-21T20:17:02Z
- Age in days: 217
- Modified at: 2026-10-26T21:10:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-40890
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-125 | Out-of-bounds Read |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/gomarkdown/markdown/security/advisories/GHSA-77fj-vx54-gvh7 | nvd | 2026-04-21 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/gomarkdown/markdown/commit/759bbc3e32073c3bc4e25969c132fc520eda2778 | nvd | Patch |
| https://github.com/gomarkdown/markdown/security/advisories/GHSA-77fj-vx54-gvh7 | nvd | Exploit, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| gomarkdown:markdown | < 2026-04-10 | no | nvd | /v1/products/gomarkdown/markdown |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| gomarkdown/markdown | commit, fix, package, security_advisory | yes | /v1/repositories/gomarkdown/markdown |
Index
- Repositories: 30
- Repositories high signal: 7
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-04-21
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts