CVE-2021-41959
7.5high
JerryScript Git version 14ff5bf does not sufficiently track and release allocated memory via jerry-core/ecma/operations/ecma-regexp-object.…
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 1.19% (higher than 68% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
Description
JerryScript Git version 14ff5bf does not sufficiently track and release allocated memory via jerry-core/ecma/operations/ecma-regexp-object.c after RegExp, which causes a memory leak.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| jerryscript jerryscript | Not specified | NVD |
All scores
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
JerryScript Git version 14ff5bf does not sufficiently track and release allocated memory via jerry-core/ecma/operations/ecma-regexp-object.c after RegExp, which causes a memory leak.
NVD (es)
JerryScript Git versión 14ff5bf, no rastrea y libera suficientemente la memoria asignada por medio del archivo jerry-core/ecma/operations/ecma-regexp-object.c después de RegExp, lo que causa una pérdida de memoria
References
| https://github.com/jerryscript-project/jerryscript/issues/4781 | exploit, issue-tracking, third-party-advisory | |
| https://github.com/jerryscript-project/jerryscript/pull/4787 | exploit, issue-tracking, patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-41959 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2021-41959 changed 2026-06-17 | Public domain |