CVE-2021-41959

HIGH

JerryScript - Memory Leak in RegExp Object Handling

Title source: llm
STIX 2.1

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.

References (2)

Core 2
Core References
Exploit, Issue Tracking, Third Party Advisory x_refsource_misc
https://github.com/jerryscript-project/jerryscript/issues/4781
Exploit, Issue Tracking, Patch, Third Party Advisory x_refsource_misc
https://github.com/jerryscript-project/jerryscript/pull/4787

Scores

CVSS v3 7.5
EPSS 0.0112
EPSS Percentile 61.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-401
Status published
Products (1)
jerryscript/jerryscript
Published May 03, 2022
Tracked Since Feb 18, 2026