CVE-2025-6493 CodeMirror Markdown Mode markdown.js redos
MediumCVSS 6.9
EPSS 0.56%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
A weakness has been identified in CodeMirror up to 5.65.20. Affected is an unknown function of the file mode/markdown/markdown.js of the component Markdown Mode. This manipulation causes inefficient regular expression complexity. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be exploited. Upgrading to version 6.0 is able to address this issue. You should upgrade the affected component. Not all code samples mentioned in the GitHub issue can be found. The repository mentions, that "CodeMirror 6 exists, and is [...] much more actively maintained."
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/codemirror-js(Debian:12) | All versions | No fix listed |
| debian/codemirror-js(Debian:12) | = 5.65.0+~cs5.83.9-2 | No fix listed |
| debian/codemirror-js(Debian:12) | = 5.65.0+~cs5.83.9-3 | No fix listed |
| debian/codemirror-js(Debian:12) | = 5.65.20+~cs5.83.25-1 | No fix listed |
| debian/codemirror-js(Debian:13) | All versions | No fix listed |
| debian/codemirror-js(Debian:13) | = 5.65.0+~cs5.83.9-3 | No fix listed |
| debian/codemirror-js(Debian:13) | = 5.65.20+~cs5.83.25-1 | No fix listed |
| debian/codemirror-js(Debian:14) | All versions | No fix listed |
| debian/codemirror-js(Debian:14) | = 5.65.0+~cs5.83.9-3 | No fix listed |
| debian/codemirror-js(Debian:14) | = 5.65.20+~cs5.83.25-1 | No fix listed |
| ubuntu/codemirror-js(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/codemirror-js(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/codemirror-js(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/codemirror-js(Ubuntu:26.10) | All versions | No fix listed |
References
- Debian Security Tracker CVE-2025-6493 vendor-advisory
- VDB-313610 | CodeMirror Markdown Mode markdown.js redos technical-description vdb-entry
- VDB-313610 | CTI Indicators (IOB, IOC, TTP, IOA) permissions-required signature
- Submit #598875 | codemirror codemirror5 <=5.17.0 Inefficient Regular Expression Complexity third-party-advisory
- github.com exploit issue-tracking
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking