{"id":"UBUNTU-CVE-2017-18212","details":"An issue was discovered in JerryScript 1.0. There is a heap-based buffer over-read in the lit_read_code_unit_from_hex function in lit/lit-char-helpers.c via a RegExp(\"[\\x0\"); payload.","modified":"2026-04-22T11:21:20.332863Z","published":"2018-03-01T22:29:00Z","upstream":["CVE-2017-18212"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-18212"},{"type":"REPORT","url":"https://github.com/jerryscript-project/jerryscript/issues/2140"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-18212"}],"affected":[{"package":{"name":"iotjs","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/iotjs@1.0-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"iotjs","binary_version":"1.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-18212.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}