CVE-2026-40890

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.

Severity
HIGH
CVSS v3
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H · source cna
Exploit chance (EPSS)
0.346%
chance of exploitation in the next 30 days
higher than 28.6% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationpoc
Automatableyes
Technical impactpartial
Scored2026-04-21

Timeline

  1. 2026-04-14GitHub advisory published (GHSA-77fj-vx54-gvh7)7 days before publication
  2. 2026-04-21Published by the CNA19:51 UTC
  3. 2026-04-21CISA SSVC decision recordedsame day

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-77fj-vx54-gvh7, affected packages:

PackageVulnerable versionsFixed in
Go github.com/gomarkdown/markdownbefore 0.0.0-20260411013819-759bbc3e32070.0.0-20260411013819-759bbc3e3207

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
gomarkdown markdownbefore 2026-04-10fixed in 2026-04-102026-04-10

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources