Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. rdiscount
  4. ›
  5. CVE-2026-35201

CVE-2026-35201: rdiscount has an Out-of-bounds Read

April 6, 2026 (updated May 13, 2026)

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

References

  • github.com/advisories/GHSA-6r34-94wq-jhrc
  • github.com/davidfstr/rdiscount/commit/b1a16445e92e0d12c07594dedcdc56f80b317761
  • github.com/davidfstr/rdiscount/security/advisories/GHSA-6r34-94wq-jhrc
  • github.com/rubysec/ruby-advisory-db/blob/master/gems/rdiscount/CVE-2026-35201.yml
  • nvd.nist.gov/vuln/detail/CVE-2026-35201

Code Behaviors & Features

Detect and mitigate CVE-2026-35201 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.3.1.1 before 2.2.7.4

Fixed versions

  • 2.2.7.4

Solution

Upgrade to version 2.2.7.4 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-125: Out-of-bounds Read

Source file

gem/rdiscount/CVE-2026-35201.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:08 +0000.