CVE-2026-35201

Source
https://cve.org/CVERecord?id=CVE-2026-35201
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-35201.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-35201
Aliases
Downstream
Published
2026-04-06T19:49:48Z
Modified
2026-08-12T03:51:33Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Discount has an Out-of-bounds Read in rdiscount
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35201.json"
}
References

Affected packages

Git / github.com/davidfstr/rdiscount

Affected ranges

Type
GIT
Repo
https://github.com/davidfstr/rdiscount
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:dafoster:rdiscount:*:*:*:*:*:ruby:*:*",
    "extracted_events": [
        {
            "introduced": "1.3.1.1"
        },
        {
            "fixed": "2.2.7.4"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ]
}

Affected versions

1.*
1.3.1.1
1.3.4
1.3.5
1.5.5
1.5.8
1.5.8.1
1.6.3.1
1.6.3.2
1.6.5
1.6.8
2.*
2.0.7
2.0.7.1
2.0.7.2
2.0.7.3
2.1.6
2.1.7
2.1.7.1
2.1.8
2.2.0
2.2.0.1
2.2.0.2
2.2.7
2.2.7.1
2.2.7.2
2.2.7.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-35201.json"