Debian Package Tracker
Register | Log in
Subscribe

golang-github-gomarkdown-markdown

Markdown parser and HTML renderer for Go

Choose email to subscribe with

general
  • source: golang-github-gomarkdown-markdown (main)
  • version: 0.0~git20260725.8435af3-1
  • maintainer: Debian Go Packaging Team (DMD)
  • uploaders: Anthony Fok [DMD]
  • arch: all
  • std-ver: 4.7.4
  • VCS: Git (Browse, QA)
versions [more versions can be listed by madison] [old versions available from snapshot.debian.org]
[pool directory]
  • oldstable: 0.0~git20220731.dcdaee8-2
  • stable: 0.0~git20231115.a660076-1
  • testing: 0.0~git20260725.8435af3-1
  • unstable: 0.0~git20260725.8435af3-1
versioned links
  • 0.0~git20220731.dcdaee8-2: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 0.0~git20231115.a660076-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 0.0~git20260725.8435af3-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
binaries
  • golang-github-gomarkdown-markdown-dev
action needed
A new upstream version is available: 0.0~git20261011.f839536 high
A new upstream version 0.0~git20261011.f839536 is available, you should consider packaging it.
Created: 2026-08-21 Last update: 2026-10-25 02:30
3 security issues in trixie high

There are 3 open security issues in trixie.

1 important issue:
  • CVE-2026-102941: The package github.com/gomarkdown/markdown is a Go library for parsing Markdown text and rendering as HTML. Prior to 0.0.0-20260724235538-61af6e1e6971, parser.IsSafeURL in parser/parser.go slices url[:nPath] before the len(url) >= nPath guard. A short destination causes a slice-bounds panic when the loop reaches a relative-path prefix for which len(url) < nPath and cap(url) < nPath. The one-byte destination / is an explicit non-panic counterexample because it matches the first valid path and returns before a longer prefix is sliced. Demonstrated panic cases include empty, ., and .. destinations under those conditions. The panic is reachable when markdown.ToHTML renders untrusted Markdown with html.Safelink enabled, including an empty link destination, and is also reachable by callers that pass a short attacker-controlled URL directly to the exported parser.IsSafeURL function. An uncaught panic can terminate the calling process and cause denial of service. This issue is fixed in 0.0.0-20260724235538-61af6e1e6971.
2 issues left for the package maintainer to handle:
  • CVE-2024-44337: (needs triaging) The package `github.com/gomarkdown/markdown` is a Go library for parsing Markdown text and rendering as HTML. Prior to pseudoversion `v0.0.0-20240729232818-a2a9c4f`, which corresponds with commit `a2a9c4f76ef5a5c32108e36f7c47f8d310322252`, there was a logical problem in the paragraph function of the parser/block.go file, which allowed a remote attacker to cause a denial of service (DoS) condition by providing a tailor-made input that caused an infinite loop, causing the program to hang and consume resources indefinitely. Submit `a2a9c4f76ef5a5c32108e36f7c47f8d310322252` contains fixes to this problem.
  • CVE-2026-40890: (needs triaging) 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.

You can find information about how to handle these issues in the security team's documentation.

Created: 2024-10-18 Last update: 2026-10-18 08:32
4 security issues in bookworm high

There are 4 open security issues in bookworm.

1 important issue:
  • CVE-2026-102941: The package github.com/gomarkdown/markdown is a Go library for parsing Markdown text and rendering as HTML. Prior to 0.0.0-20260724235538-61af6e1e6971, parser.IsSafeURL in parser/parser.go slices url[:nPath] before the len(url) >= nPath guard. A short destination causes a slice-bounds panic when the loop reaches a relative-path prefix for which len(url) < nPath and cap(url) < nPath. The one-byte destination / is an explicit non-panic counterexample because it matches the first valid path and returns before a longer prefix is sliced. Demonstrated panic cases include empty, ., and .. destinations under those conditions. The panic is reachable when markdown.ToHTML renders untrusted Markdown with html.Safelink enabled, including an empty link destination, and is also reachable by callers that pass a short attacker-controlled URL directly to the exported parser.IsSafeURL function. An uncaught panic can terminate the calling process and cause denial of service. This issue is fixed in 0.0.0-20260724235538-61af6e1e6971.
3 issues postponed or untriaged:
  • CVE-2023-42821: (needs triaging) The package `github.com/gomarkdown/markdown` is a Go library for parsing Markdown text and rendering as HTML. Prior to pseudoversion `0.0.0-20230922105210-14b16010c2ee`, which corresponds with commit `14b16010c2ee7ff33a940a541d993bd043a88940`, parsing malformed markdown input with parser that uses parser.Mmark extension could result in out-of-bounds read vulnerability. To exploit the vulnerability, parser needs to have `parser.Mmark` extension set. The panic occurs inside the `citation.go` file on the line 69 when the parser tries to access the element past its length. This can result in a denial of service. Commit `14b16010c2ee7ff33a940a541d993bd043a88940`/pseudoversion `0.0.0-20230922105210-14b16010c2ee` contains a patch for this issue.
  • CVE-2024-44337: (needs triaging) The package `github.com/gomarkdown/markdown` is a Go library for parsing Markdown text and rendering as HTML. Prior to pseudoversion `v0.0.0-20240729232818-a2a9c4f`, which corresponds with commit `a2a9c4f76ef5a5c32108e36f7c47f8d310322252`, there was a logical problem in the paragraph function of the parser/block.go file, which allowed a remote attacker to cause a denial of service (DoS) condition by providing a tailor-made input that caused an infinite loop, causing the program to hang and consume resources indefinitely. Submit `a2a9c4f76ef5a5c32108e36f7c47f8d310322252` contains fixes to this problem.
  • CVE-2026-40890: (needs triaging) 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.
Created: 2026-10-17 Last update: 2026-10-18 08:32
lintian reports 1 warning normal
Lintian reports 1 warning about this package. You should make the package lintian clean getting rid of them.
Created: 2026-08-04 Last update: 2026-08-04 10:19
news
[rss feed]
  • [2026-08-06] golang-github-gomarkdown-markdown 0.0~git20260725.8435af3-1 MIGRATED to testing (Debian testing watch)
  • [2026-08-03] Accepted golang-github-gomarkdown-markdown 0.0~git20260725.8435af3-1 (source) into unstable (Simon Josefsson)
  • [2023-12-24] golang-github-gomarkdown-markdown 0.0~git20231115.a660076-1 MIGRATED to testing (Debian testing watch)
  • [2023-12-20] Accepted golang-github-gomarkdown-markdown 0.0~git20231115.a660076-1 (source) into unstable (Anthony Fok)
  • [2022-08-18] golang-github-gomarkdown-markdown 0.0~git20220731.dcdaee8-2 MIGRATED to testing (Debian testing watch)
  • [2022-08-16] Accepted golang-github-gomarkdown-markdown 0.0~git20220731.dcdaee8-2 (source) into unstable (Anthony Fok)
  • [2022-08-16] Accepted golang-github-gomarkdown-markdown 0.0~git20220731.dcdaee8-1 (source all) into unstable, unstable (Debian FTP Masters) (signed by: Anthony Fok)
bugs [bug history graph]
  • all: 0
links
  • homepage
  • lintian (0, 1)
  • buildd: logs, reproducibility
  • popcon
  • browse source code
  • other distros
  • security tracker
  • debci
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 0.0~git20260725.8435af3-1

Debian Package Tracker — Copyright 2013-2025 The Distro Tracker Developers
Report problems to the tracker.debian.org pseudo-package in the Debian BTS.
Documentation — Bugs — Git Repository — Contributing