Out-of-bounds Read Affecting github.com/gomarkdown/markdown/parser package, versions >=0.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.28% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMGOMARKDOWNMARKDOWNPARSER-21196716
  • published18 Oct 2026
  • disclosed16 Oct 2026
  • creditUnknown

Introduced: 16 Oct 2026

NewCVE-2026-102941  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

There is no fixed version for github.com/gomarkdown/markdown/parser.

Overview

github.com/gomarkdown/markdown/parser is a library for parsing Markdown text and rendering as HTML.

Affected versions of this package are vulnerable to Out-of-bounds Read through the IsSafeURL function. An attacker can cause a panic and crash the application by supplying a specially crafted short URL (0, 1, or 2 bytes) as input, which triggers a slice-bounds error when the html.Safelink flag is enabled or when the function is called directly with such input. This is only exploitable if the application processes untrusted Markdown with the html.Safelink flag enabled or directly invokes the affected function with attacker-controlled short URLs.

CVSS Base Scores

version 4.0
version 3.1