CVE-2026-118694

Source
https://cve.org/CVERecord?id=CVE-2026-118694
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-118694.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-118694
Downstream
Related
Published
2026-10-28T21:11:20Z
Modified
2026-11-05T17:27:04Z
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
python-markdown2 through 2.5.5 Denial of Service via Unclosed Inline Link Destinations
Details

python-markdown2 through 2.5.5 contains a denial of service vulnerability that allows remote users to exhaust CPU by submitting Markdown with unclosed inline link destinations. Attackers can submit repeated '[a](' or '![a](' sequences, causing _find_balanced to rescan the remaining document for each link and consume quadratic CPU time.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-407"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118694.json"
}
References

Affected packages

Git / github.com/trentm/python-markdown2

Affected ranges

Type
GIT
Repo
https://github.com/trentm/python-markdown2
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "2.5.5"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "introduced":  "2"
                },
                {
                    "last_affected":  "2.5.5"
                }
            ],
            "source":  "DESCRIPTION"
        }
    ]
}

Affected versions

1.*
1.0.1.18
1.0.1.19
1.1.0
1.1.1
1.2.0
1.3.0
1.3.1
1.4.0
1.4.1
1.4.2
2.*
2.0.0
2.0.1
2.1.0
2.2.0
2.2.1
2.2.2
2.2.3
2.3.0
2.3.1
2.3.10
2.3.2
2.3.3
2.3.4
2.3.5
2.3.6
2.3.7
2.3.8
2.3.9
2.4.0
2.4.1
2.4.10
2.4.11
2.4.12
2.4.13
2.4.2
2.4.3
2.4.4
2.4.5
2.4.6
2.4.7
2.4.8
2.4.9
2.5.0
2.5.1
2.5.2
2.5.3
2.5.4
2.5.5

Database specific

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