cve.bz

CVE-2026-40890 gomarkdown markdown: Out-of-bounds Read

7.5 highExploit referenceEPSS 0.3%Fix available

High (7.5) in gomarkdown markdown. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/gomarkdown/markdown 0.0.0-20260411013819-759bbc3e3207.

On this page
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.

Severity

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
EPSS
0.3% (unchanged from 0.3% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 29th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-04-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-40890 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-40890?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-40890?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-40890 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gomarkdown:markdownbefore 2026-04-10

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-77fj-vx54-gvh7Gogithub.com/gomarkdown/markdown<0.0.0-20260411013819-759bbc3e32070.0.0-20260411013819-759bbc3e3207
GO-2026-5208Gogithub.com/gomarkdown/markdown<0.0.0-20260411013819-759bbc3e32070.0.0-20260411013819-759bbc3e3207

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13golang-github-gomarkdown-markdownno fix listedDEBIAN-CVE-2026-40890
Debian14golang-github-gomarkdown-markdown0.0~git20260725.8435af3-1DEBIAN-CVE-2026-40890
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 1 moregolang-github-gomarkdown-markdownno fix listedUBUNTU-CVE-2026-40890
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0govulncheck-vulndb0.0.20260727T201416-160000.1.1SUSE-SU-2026:23216-1 SUSE-SU-2026:23227-1
openSUSELeap 16.0govulncheck-vulndb0.0.20260727T201416-160000.1.1openSUSE-SU-2026:21551-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This is an Important denial of service flaw affecting Red Hat products that utilize the `github.com/gomarkdown/markdown` library. The vulnerability occurs when the `SmartypantsRenderer` processes specially crafted malformed Markdown input containing an unclosed '<' character, leading to an out-of-bounds read or application panic. A successful exploitation may lead the application using the library unavailable.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Multicluster Global Hub 1.4.9multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1779579439Fixed 2026-06-01RHSA-2026:22347
Multicluster Global Hub 1.6.5multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1780167118Fixed 2026-06-04RHSA-2026:23345
Multicluster Global Hub 1.7.3multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1779925273Fixed 2026-06-08RHSA-2026:24503
Red Hat Advanced Cluster Management for Kubernetes 2.15rhacm2/acm-grafana-rhel9:1780677003Fixed 2026-06-08RHSA-2026:24539
Red Hat multicluster global hub 1.5.3multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1778867753Fixed 2026-05-28RHSA-2026:21769
Kube Descheduler Operatorkube-descheduler-operator/descheduler-rhel9Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-40890.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON