# CVE-2020-7760: Regular Expression Denial of Service (ReDoS)

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2020-10-30 · Modified: 2024-09-17
- Aliases: UBUNTU-CVE-2020-7760, DEBIAN-CVE-2020-7760, DSA-4789-1, GHSA-4gw3-8f77-f72c, USN-9135-1
- Record: https://cvemate.com/vulnerability/CVE-2020-7760 · JSON: https://cvemate.com/vulnerability/CVE-2020-7760/json

## Description

```text
This affects the package codemirror before 5.58.2; the package org.apache.marmotta.webjars:codemirror before 5.58.2. The vulnerable regular expression is located in https://github.com/codemirror/CodeMirror/blob/cdb228ac736369c685865b122b736cd0d397836c/mode/javascript/javascript.jsL129. The ReDOS vulnerability of the regex is mainly due to the sub-pattern (s|/*.*?*/)*
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 4.932%, percentile 92.37%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 7 (reference)

## Affected

- codemirror codemirror: \< 5.58.2
- debian codemirror-js (Debian): \< 5.58.2+~cs0.23.101-1 \| \< 5.43.0-1+deb10u1
- ubuntu codemirror-js (Ubuntu): All versions (No fix recorded) \| \< 5.51.0-1ubuntu0.1~esm1
- Npm codemirror (Npm): \< 5.58.2
- oracle application\_express: \< 20.2
- oracle enterprise\_manager\_express\_user\_interface: 19c
- oracle essbase: 21.2
- oracle hyperion\_data\_relationship\_management: \< 11.2.9.0
- oracle spatial\_studio: \< 19.1.0

## References

- <https://snyk.io/vuln/SNYK-JS-CODEMIRROR-1016937>
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1024445>
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCOMPONENTS-1024446>
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1024447>
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCODEMIRROR-1024448>
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1024449>
- <https://snyk.io/vuln/SNYK-JAVA-ORGAPACHEMARMOTTAWEBJARS-1024450>
- <https://github.com/codemirror/CodeMirror/commit/55d0333907117c9231ffdf555ae8824705993bbb>
- <https://www.debian.org/security/2020/dsa-4789>
- <https://www.oracle.com/security-alerts/cpuApr2021.html>
- <https://www.oracle.com//security-alerts/cpujul2021.html>
- <https://www.oracle.com/security-alerts/cpuapr2022.html>
- <https://ubuntu.com/security/CVE-2020-7760>
- <https://www.cve.org/CVERecord?id=CVE-2020-7760>
- <https://security-tracker.debian.org/tracker/CVE-2020-7760>
- <https://nvd.nist.gov/vuln/detail/CVE-2020-7760>
- <https://www.npmjs.com/package/codemirror>
- <https://ubuntu.com/security/notices/USN-9135-1>

---

Data as of 2026-12-05T03:44:09.691Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
