Live threats

All CVEs / Dafoster

CVE-2026-35201Dafoster Rdiscount

Medium 5.9 No auth needed

Priority
50
CVSS 3.1
5.9
EPSS
—
Auth required
No
Published
Apr 6, 2026
Updated
Jul 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-125
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rdiscount.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems rdiscount ≥ 1.3.1.1 < 2.2.7.4 2.2.7.4 gem "rdiscount", ">= 2.2.7.4"

Per OSV / GitHub Advisories (GHSA-6r34-94wq-jhrc). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
dafosterrdiscount≥ 1.3.1.1 < 2.2.7.4

Official sources

References

Links published by the sources. Open them with care.