CVE-2026-40890

Source
https://cve.org/CVERecord?id=CVE-2026-40890
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40890.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-40890
Aliases
Downstream
Related
Published
2026-04-21T19:51:53.237Z
Modified
2026-07-16T03:48:30.454239933Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
github.com/gomarkdown/markdown: Out-of-bounds Read in SmartypantsRenderer
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40890.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "fixed": "759bbc3e32073c3bc4e25969c132fc520eda2778"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/gomarkdown/markdown

Affected ranges

Type
GIT
Repo
https://github.com/gomarkdown/markdown
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": "REFERENCES"
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40890.json"