HOMEVULNERABILITIESCVE-2021-41682
HIGH

CVE-2021-41682

CWE-416Published: June 20, 2022· Updated: Jun 17, 2026

7.8
CVSS v3.1

Official Description

There is a heap-use-after-free at ecma-helpers-string.c:1940 in ecma_compare_ecma_non_direct_strings in JerryScript 2.4.0

NVD Source

Technical Analysis

CVE-2021-41682 requires local access, meaning attackers must already have a foothold on the target system.

Exploitation does not require any privileges, though user interaction (Required) is needed, which slightly reduces the risk of mass automated attacks.

A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 7.8.

From a weakness classification perspective (CWE-416): Use-after-free vulnerabilities involve accessing memory after it has been freed, often enabling arbitrary code execution.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorLocal
Attack ComplexityLow
Privileges Req.None
User InteractionRequired
ScopeUnchanged
Impact
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected Vendors & Products

jerryscript1 product(s)
jerryscript
Source: NVD CPE · 1 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (2)

https://github.com/jerryscript-project/jerryscript/issues/4747Exploit · Issue Tracking · Patch · Third Party Advisory
https://github.com/jerryscript-project/jerryscript/issues/4747Exploit · Issue Tracking · Patch · Third Party Advisory

Quick Facts

CVE IDCVE-2021-41682
CVSS Score7.8 / 10
SeverityHIGH
WeaknessCWE-416
CISA KEVNo
Affected1 vendor(s)
PublishedJun 20, 2022

Related CVEs (CWE-416)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2021-41682 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.