{"id":"CVE-2021-41682","aliases":["EUVD-2021-28694","GHSA-hwj8-33pv-37r3","UBUNTU-CVE-2021-41682"],"status":"published","title":"There is a heap-use-after-free at ecma-helpers-string.c:1940 in...","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","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00777,"percentile":0.56254,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-416"],"published":"2022-06-20T13:14:05Z","modified":"2026-10-20T10:54:58Z","affected":[{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"iotjs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"iotjs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0+715-1ubuntu2"]}],"products":[{"vendor":"jerryscript","product":"jerryscript"}],"references":[{"url":"https://github.com/jerryscript-project/jerryscript/issues/4747","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41682"},{"url":"https://github.com/advisories/GHSA-hwj8-33pv-37r3"},{"url":"https://ubuntu.com/security/CVE-2021-41682","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-41682","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-41682","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","status":"published","published":"2022-06-20T13:14:05Z","modified":"2024-08-04T03:15:29.264Z","updated_at":"2026-11-02T14:32:59.105382Z"}],"euvd":[{"id":"EUVD-2021-28694","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","status":"published","published":"2022-06-20T13:14:05Z","modified":"2024-08-04T03:15:29Z","updated_at":"2026-11-03T03:24:17.230256Z"}],"ghsa":[{"id":"GHSA-hwj8-33pv-37r3","title":"There is a heap-use-after-free at ecma-helpers-string.c:1940 in...","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","status":"published","published":"2022-06-21T00:00:46Z","modified":"2023-01-27T05:04:33Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T14:42:29.387682Z"}],"nvd":[{"id":"CVE-2021-41682","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","status":"published","published":"2022-06-20T14:15:08.947Z","modified":"2026-06-17T04:08:48.27Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T14:07:06.501652Z"}],"osv":[{"id":"CVE-2021-41682","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","status":"published","published":"2022-06-20T14:15:08.947Z","modified":"2026-10-20T10:54:58.733233189Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:21.557945Z"},{"id":"UBUNTU-CVE-2021-41682","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","status":"published","published":"2022-06-20T14:15:00Z","modified":"2026-04-22T13:01:24.12426Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:29.220315Z"}]}}
