Out-of-bounds Read Affecting gotenberg package, versions <8.30.1-r2


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.35% (27th 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-CHAINGUARDLATEST-GOTENBERG-16096193
  • published17 Apr 2026
  • disclosed21 Apr 2026

Introduced: 17 Apr 2026

CVE-2026-40890  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Chainguard gotenberg to version 8.30.1-r2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gotenberg package and not the gotenberg package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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.