Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-129522

published low CVSS 4.0 · 2.1

Quadratic rescanning in MDEx auto-close link scanner allows CPU denial of service

Published
30 Nov 2026, 18:45:21 UTC
Updated
30 Nov 2026, 18:59:32 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
leandrocp — mdex0.14.2 to < 0.15.0 · Other versions: unaffected Affected Not stated EEF
leandrocp — leandrocp/mdexmdex · bea359152bc1f63f3256ee86ca207151b815940d to < 2c29b28cd0473c24347aa00b95d16f9ce5f9d9af · Other versions: unaffected Affected Not stated EEF

Description

Inefficient Algorithmic Complexity vulnerability in MDEx.FragmentParser in leandrocp mdex allows an attacker who controls streamed or auto-closed Markdown to cause a denial of service through CPU exhaustion. Any application that renders untrusted Markdown with MDEx.stream/2 or the auto_close option is affected, for example live previews or streamed LLM output. While auto-closing the last paragraph, close_bracket/5 in lib/mdex/fragment_parser.ex runs an unbounded forward scan of the link tail for every ](. When that scan finds no valid link, scanning resumes just after the ], so the next ]( rescans the same tail. Each closed link also re-filters every pending image opener. Repeated [](x (, [](x(, or ![ openers in one paragraph therefore cost quadratic time, and about 100 KB of input occupies a scheduler for over ten seconds. This issue affects mdex: from 0.14.2 before 0.15.0.

en · EEF · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
2.1 / 10
Severity
low
Provider
EEF · cna
Vector string
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
leandrocp mdex 0.14.2 to < 0.15.0 (affected · semver)Default: unaffected EEF · cna
leandrocp mdex bea359152bc1f63f3256ee86ca207151b815940d to < 2c29b28cd0473c24347aa00b95d16f9ce5f9d9af (affected · git)Default: unaffected EEF · cna

Weaknesses

1
  • CWE-407 CWE-407 Inefficient Algorithmic Complexity (EEF · cna)

References

4

Provider assertions

2

EEF · cna

Quadratic rescanning in MDEx auto-close link scanner allows CPU denial of service

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
3edc6611efbdabe7040d13e27c501928f42094e28fd8ad6e2d034f366fff159d
Ingested
30 Nov 2026, 19:09:38 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected