{"id":"UBUNTU-CVE-2021-41959","details":"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.","modified":"2026-04-22T13:01:17.166107Z","published":"2022-05-03T11:15:00Z","upstream":["CVE-2021-41959"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-41959"},{"type":"REPORT","url":"https://github.com/jerryscript-project/jerryscript/issues/4781"},{"type":"REPORT","url":"https://github.com/jerryscript-project/jerryscript/pull/4166"},{"type":"REPORT","url":"https://github.com/jerryscript-project/jerryscript/pull/4787"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-41959"}],"affected":[{"package":{"name":"iotjs","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/iotjs@1.0+715-1ubuntu2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0+715-1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"iotjs","binary_version":"1.0+715-1ubuntu2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-41959.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}