CVE-2021-41959
JerryScript Git version 14ff5bf does not sufficiently track and release allocated memory via...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2021-41959- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-401
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2021-41959- Updated
- 2026-11-02
EUVDEUVD-2021-28952 No score
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.
- Record
EUVD-2021-28952- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-cwgv-434w-9fvv
7.5
JerryScript Git version 14ff5bf does not sufficiently track and release allocated memory via...
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.
- Record
GHSA-cwgv-434w-9fvv- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-401
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-41959
7.5
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.
- Record
UBUNTU-CVE-2021-41959- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
iotjsUbuntu:22.04:LTS |
All versions, plus listed versions 1.0+715-1ubuntu2 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-41959 is a high vulnerability (CVSS 7.5) in Jerryscript, published May 3, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.19%, the 68th percentile. No source names a fixed version.
References
github.com/jerryscript-project/jerryscript/issues/4781
github.com/jerryscript-project/jerryscript/pull/4787
nvd.nist.gov/vuln/detail/CVE-2021-41959
github.com/advisories/GHSA-cwgv-434w-9fvv
ubuntu.com/security/CVE-2021-41959
github.com/jerryscript-project/jerryscript/pull/4166
cve.org/CVERecord?id=CVE-2021-41959