Security mailing lists by PureSourceCode

CVE-2026-35201

MEDIUM 5.9CVSS 3.1

rdiscount has an Out-of-bounds Read

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.

Published
6 Apr 2026
Last modified
24 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-125
Also known as
GHSA-6r34-94wq-jhrc
Sources
NVDJSONOSV GHSA-6r34-94wq-jhrcJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD dafoster rdiscount
cpe:2.3:a:dafoster:rdiscount:*:*:*:*:*:ruby:*:*
>= 1.3.1.1, < 2.2.7.4 2.2.7.4
OSV RubyGems rdiscount >= 1.3.1.1, < 2.2.7.4 2.2.7.4

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 6 Apr 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.