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.
Published: 2026-04-21
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Out-of-bounds Read
Action: Immediate Patch
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-77fj-vx54-gvh7 Go Markdown has an Out-of-bounds Read in SmartypantsRenderer
History

Mon, 27 Apr 2026 15:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:gomarkdown:markdown:*:*:*:*:*:go:*:*

Sat, 25 Apr 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1286
References
Metrics threat_severity

None

threat_severity

Important


Wed, 22 Apr 2026 04:30:00 +0000

Type Values Removed Values Added
First Time appeared Gomarkdown
Gomarkdown markdown
Vendors & Products Gomarkdown
Gomarkdown markdown

Wed, 22 Apr 2026 00:00:00 +0000

Type Values Removed Values Added
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.
Title github.com/gomarkdown/markdown: Out-of-bounds Read in SmartypantsRenderer
Weaknesses CWE-125
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Subscriptions

Gomarkdown Markdown
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-04-21T20:36:07.854Z

Reserved: 2026-04-15T16:37:22.766Z

Link: CVE-2026-40890

cve-icon Vulnrichment

Updated: 2026-04-21T20:16:30.316Z

cve-icon NVD

Status : Analyzed

Published: 2026-04-21T20:17:02.810

Modified: 2026-04-27T15:07:26.230

Link: CVE-2026-40890

cve-icon Redhat

Severity : Important

Publid Date: 2026-04-21T19:51:53Z

Links: CVE-2026-40890 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-28T16:30:35Z

Weaknesses