CVE-2026-40890 github.com/gomarkdown/markdown: Out-of-bounds Read in SmartypantsRenderer
HighCVSS 7.5
EPSS 0.36%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
14 packages: 4 fixed, 10 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/golang-github-gomarkdown-markdown(Debian 12) | = 0.0~git20220731.dcdaee8-2; = 0.0~git20231115.a660076-1; = 0.0~git20260725.8435af3-1; All versions | No fix listed | No fix yet |
| debian/golang-github-gomarkdown-markdown(Debian 13) | = 0.0~git20231115.a660076-1; = 0.0~git20260725.8435af3-1; All versions | No fix listed | No fix yet |
| redhat/multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1778867753(Red Hat multicluster_globalhub 1.5 el9) | All versions | No fix listed | No fix yet |
| redhat/multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1779579439(Red Hat multicluster_globalhub 1.4 el9) | All versions | No fix listed | No fix yet |
| redhat/multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1779925273(Red Hat multicluster_globalhub 1.7 el9) | All versions | No fix listed | No fix yet |
| redhat/multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1780167118(Red Hat multicluster_globalhub 1.6 el9) | All versions | No fix listed | No fix yet |
| redhat/rhacm2/acm-grafana-rhel9:1780677003(Red Hat acm 2.15 el9) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-gomarkdown-markdown(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-gomarkdown-markdown(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-gomarkdown-markdown(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| cbl-mariner cri-o(CBL-Mariner 2.0) | < 1.22.3-21 | 1.22.3-21 | Fixed |
| debian/golang-github-gomarkdown-markdown(Debian 14) | < 0.0~git20260725.8435af3-1; = 0.0~git20231115.a660076-1 | 0.0~git20260725.8435af3-1 | Fixed |
| gomarkdown markdown | < 2026-04-10; = < 759bbc3e32073c3bc4e25969c132fc520eda2778 | 2026-04-10 | Fixed |
| gomarkdown markdown(Go) | < 0.0.0-20260411013819-759bbc3e3207 | 0.0.0-20260411013819-759bbc3e3207 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gomarkdown markdown(Go) | < 0.0.0-20260411013819-759bbc3e3207 | 0.0.0-20260411013819-759bbc3e3207 |
| cbl-mariner cri-o(CBL-Mariner:2.0) | < 1.22.3-21 | 1.22.3-21 |
| gomarkdown markdown | = < 759bbc3e32073c3bc4e25969c132fc520eda2778 | No fix listed |
| debian/golang-github-gomarkdown-markdown(Debian:12) | All versions | No fix listed |
| debian/golang-github-gomarkdown-markdown(Debian:12) | = 0.0~git20220731.dcdaee8-2 | No fix listed |
| debian/golang-github-gomarkdown-markdown(Debian:12) | = 0.0~git20231115.a660076-1 | No fix listed |
| debian/golang-github-gomarkdown-markdown(Debian:12) | = 0.0~git20260725.8435af3-1 | No fix listed |
| debian/golang-github-gomarkdown-markdown(Debian:13) | All versions | No fix listed |
| debian/golang-github-gomarkdown-markdown(Debian:13) | = 0.0~git20231115.a660076-1 | No fix listed |
| debian/golang-github-gomarkdown-markdown(Debian:13) | = 0.0~git20260725.8435af3-1 | No fix listed |
| debian/golang-github-gomarkdown-markdown(Debian:14) | < 0.0~git20260725.8435af3-1 | 0.0~git20260725.8435af3-1 |
| debian/golang-github-gomarkdown-markdown(Debian:14) | = 0.0~git20231115.a660076-1 | No fix listed |
| redhat/multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1779579439(Red Hat:multicluster_globalhub:1.4::el9) | All versions | No fix listed |
| redhat/multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1780167118(Red Hat:multicluster_globalhub:1.6::el9) | All versions | No fix listed |
| redhat/multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1779925273(Red Hat:multicluster_globalhub:1.7::el9) | All versions | No fix listed |
| redhat/rhacm2/acm-grafana-rhel9:1780677003(Red Hat:acm:2.15::el9) | All versions | No fix listed |
| redhat/multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1778867753(Red Hat:multicluster_globalhub:1.5::el9) | All versions | No fix listed |
| ubuntu/golang-github-gomarkdown-markdown(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/golang-github-gomarkdown-markdown(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/golang-github-gomarkdown-markdown(Ubuntu:26.10) | All versions | No fix listed |
| gomarkdown markdown | < 2026-04-10 | 2026-04-10 |
References
- https://github.com/gomarkdown/markdown/security/advisories/GHSA-77fj-vx54-gvh7 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/gomarkdown/markdown/commit/759bbc3e32073c3bc4e25969c132fc520eda2778 patch
- github.com product
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- github.com
- Debian Security Tracker CVE-2026-40890 vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:22347 patch vendor-advisory
- RHSA-2026:23345 patch vendor-advisory
- RHSA-2026:24503 patch vendor-advisory
- RHSA-2026:24539 patch vendor-advisory
- RHSA-2026:21769 patch vendor-advisory
- Red Hat Bugzilla 2460245 issue-tracking
- www.cve.org
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking