CVEfocus › CVE database › CVE-2025-6493

CVE-2025-6493CodeMirror Markdown Mode markdown.js redos

CVSS 5.3 MediumEPSS 1.1% (higher than 64% of CVEs)Published 2025-06-22Updated 2025-09-29Assigner: VulDB

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."

CWE-1333CWE-400

What to do

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fix pending
3Under investigation
1Will not fix
12Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10codemirror-jsFix pendingUBUNTU-CVE-2025-6493
Ubuntu 26.04codemirror-jsUnder investigationUBUNTU-CVE-2025-6493
Ubuntu 25.10codemirror-jsWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-6493
Ubuntu 24.04codemirror-jsUnder investigationUBUNTU-CVE-2025-6493
Ubuntu 22.04codemirror-jsUnder investigationUBUNTU-CVE-2025-6493
Ubuntu 20.04codemirror-jsFix pendingUBUNTU-CVE-2025-6493
Ubuntu 18.04codemirror-jsFix pendingUBUNTU-CVE-2025-6493
Ubuntu 16.04codemirror-jsFix pendingUBUNTU-CVE-2025-6493
Debian 14codemirror-jsFix pendingDEBIAN-CVE-2025-6493
Debian 13codemirror-jsFix pendingDEBIAN-CVE-2025-6493
Debian 12codemirror-jsFix pendingDEBIAN-CVE-2025-6493
Red Hat Enterprise Linux 10gjsNot affected
Red Hat Enterprise Linux 10gjs-develNot affected
Red Hat Enterprise Linux 9gjsNot affected
Red Hat Enterprise Linux 9gjs-develNot affected
Red Hat Enterprise Linux 9polkitNot affected
Red Hat Enterprise Linux 9polkit-develNot affected
Red Hat Enterprise Linux 9polkit-docsNot affected
Red Hat Enterprise Linux 9polkit-libsNot affected
Red Hat Enterprise Linux 8mozjs60Not affected
Red Hat Enterprise Linux 8mozjs60-develNot affected
Red Hat Enterprise Linux 7firefoxNot affected
Red Hat Enterprise Linux 7thunderbirdNot affected

What the vendor says

As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.