The lexerprocesscharliteral function in jerry-core/parser/js/js-lexer.c in JerryScript 1.0 does not skip memory allocation for empty strings, which allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via malformed JavaScript source code, related to the jmemheapfreeblock function.
{
"source": [
"CPE_STRING",
"REFERENCES"
],
"cpe": "cpe:2.3:a:jerryscript:jerryscript:1.0:-:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "1.0-NA"
},
{
"last_affected": "1.0-NA"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-9250.json"
[
{
"signature_type": "Function",
"digest": {
"function_hash": "26603491970781079697683319097974016813",
"length": 1418.0
},
"target": {
"function": "lexer_process_char_literal",
"file": "jerry-core/parser/js/js-lexer.c"
},
"source": "https://github.com/jerryscript-project/jerryscript/commit/e58f2880df608652aff7fd35c45b242467ec0e79",
"signature_version": "v1",
"id": "CVE-2017-9250-cd0e1e24",
"deprecated": false
}
]
"2026-07-08T14:13:00Z"
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-9250.json"
[
{
"signature_type": "Function",
"digest": {
"function_hash": "26603491970781079697683319097974016813",
"length": 1418.0
},
"target": {
"function": "lexer_process_char_literal",
"file": "jerry-core/parser/js/js-lexer.c"
},
"source": "https://github.com/zherczeg/jerryscript/commit/03a8c630f015f63268639d3ed3bf82cff6fa77d8",
"signature_version": "v1",
"id": "CVE-2017-9250-db52af29",
"deprecated": false
}
]
"2026-07-08T14:13:00Z"