# CVE-2026-40890: github.com/gomarkdown/markdown: Out-of-bounds Read in SmartypantsRenderer

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-14T22:38:20.000Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-77fj-vx54-gvh7, GO-2026-5208
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- gomarkdown markdown: < 759bbc3e32073c3bc4e25969c132fc520eda2778; before 2026-04-10
- github.com/gomarkdown/markdown (Go): before 0.0.0-20260411013819-759bbc3e3207

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/gomarkdown/markdown/security/advisories/GHSA-77fj-vx54-gvh7> (exploit, advisory, vendor-advisory, web)
- <https://github.com/gomarkdown/markdown/commit/759bbc3e32073c3bc4e25969c132fc520eda2778> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40890> (advisory)
- <https://github.com/gomarkdown/markdown> (package)

## Sources

- CVE List: [CVE-2026-40890](https://www.cve.org/CVERecord?id=CVE-2026-40890), CVE Terms of Use, modified 2026-04-21
- GitHub Advisory Database: [GHSA-77fj-vx54-gvh7](https://github.com/advisories/GHSA-77fj-vx54-gvh7), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-5208](https://pkg.go.dev/vuln/GO-2026-5208), CC-BY-4.0, modified 2026-07-24
- NVD: [CVE-2026-40890](https://nvd.nist.gov/vuln/detail/CVE-2026-40890), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-40890 · Whole record: https://cve.day/CVE-2026-40890.json · Rebuilt by cve.day 2026-11-25T22:59:19.143Z
