Out-of-bounds Read Affecting discount package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.28% (19th 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-DEBIANUNSTABLE-DISCOUNT-15967886
  • published10 Apr 2026
  • disclosed6 Apr 2026

Introduced: 6 Apr 2026

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

How to fix?

There is no fixed version for Debian:unstable discount.

NVD Description

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

Discount is an implementation of John Gruber's Markdown markup language in C. From 1.3.1.1 to before 2.2.7.4, a signed length truncation bug causes an out-of-bounds read in the default Markdown parse path. Inputs larger than INT_MAX are truncated to a signed int before entering the native parser, allowing the parser to read past the end of the supplied buffer and crash the process. This vulnerability is fixed in 2.2.7.4.